]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Examine.c
Remove ident arg from getinfo_super;
[thirdparty/mdadm.git] / Examine.c
index fcfb02b8d006a1d707758f6247f84e4201b4c0a3..b4425e5a9d5f9d9f10f3377ef992992be1ba0355 100644 (file)
--- a/Examine.c
+++ b/Examine.c
@@ -62,7 +62,6 @@ int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust, struct su
                void *super;
                struct supertype *st;
                struct mdinfo info;
                void *super;
                struct supertype *st;
                struct mdinfo info;
-               struct mddev_ident_s ident;
                void *devs;
                struct array *next;
                int spares;
                void *devs;
                struct array *next;
                int spares;
@@ -113,9 +112,9 @@ int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust, struct su
                                ap->spares = 0;
                                ap->st = st;
                                arrays = ap;
                                ap->spares = 0;
                                ap->st = st;
                                arrays = ap;
-                               st->ss->getinfo_super(&ap->info, &ap->ident, super);
+                               st->ss->getinfo_super(&ap->info, super);
                        } else {
                        } else {
-                               st->ss->getinfo_super(&ap->info, &ap->ident, super);
+                               st->ss->getinfo_super(&ap->info, super);
                                free(super);
                        }
                        if (!(ap->info.disk.state & MD_DISK_SYNC))
                                free(super);
                        }
                        if (!(ap->info.disk.state & MD_DISK_SYNC))