]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Query.c
Remove ident arg from getinfo_super;
[thirdparty/mdadm.git] / Query.c
diff --git a/Query.c b/Query.c
index a76c69204e98f3c65274486dfc06d4622112599a..d2bfb0524672cacab8ed31add6ca5480afbb376a 100644 (file)
--- a/Query.c
+++ b/Query.c
@@ -42,7 +42,6 @@ int Query(char *dev)
        int ioctlerr;
        int superror, superrno;
        struct mdinfo info;
-       struct mddev_ident_s ident;
        mdu_array_info_t array;
        void *super;
        struct supertype *st = NULL;
@@ -105,7 +104,7 @@ int Query(char *dev)
        close(fd);
        if (superror == 0) {
                /* array might be active... */
-               st->ss->getinfo_super(&info, &ident, super);
+               st->ss->getinfo_super(&info, super);
                if (st->ss->major == 0) {
                        mddev = get_md_name(info.array.md_minor);
                        disc.number = info.disk.number;