Manage: Manage_subdevs(): Remove unnecessary NULL initialization
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
This commit is contained in:
parent
fbd3e15c0a
commit
e9ddbb2be9
2
Manage.c
2
Manage.c
|
@ -1416,7 +1416,7 @@ int Manage_subdevs(char *devname, int fd,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp(dv->devname, "missing") == 0) {
|
if (strcmp(dv->devname, "missing") == 0) {
|
||||||
struct mddev_dev *add_devlist = NULL;
|
struct mddev_dev *add_devlist;
|
||||||
struct mddev_dev **dp;
|
struct mddev_dev **dp;
|
||||||
if (dv->disposition == 'c') {
|
if (dv->disposition == 'c') {
|
||||||
rv = ioctl(fd, CLUSTERED_DISK_NACK, NULL);
|
rv = ioctl(fd, CLUSTERED_DISK_NACK, NULL);
|
||||||
|
|
Loading…
Reference in New Issue