]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Manage: Manage_subdevs(): Remove unnecessary NULL initialization
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 9 Mar 2016 20:08:55 +0000 (15:08 -0500)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 22 Mar 2016 18:06:18 +0000 (14:06 -0400)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Manage.c

index f6143967f3c401a53bfe06908c9d82f9c9491218..30adc993c46680502428c16ad1061c554736f6f1 100644 (file)
--- a/Manage.c
+++ b/Manage.c
@@ -1416,7 +1416,7 @@ int Manage_subdevs(char *devname, int fd,
                }
 
                if (strcmp(dv->devname, "missing") == 0) {
-                       struct mddev_dev *add_devlist = NULL;
+                       struct mddev_dev *add_devlist;
                        struct mddev_dev **dp;
                        if (dv->disposition == 'c') {
                                rv = ioctl(fd, CLUSTERED_DISK_NACK, NULL);