Assemble: assemble_container_content(): Avoid superfluous NULL initialization
No need to init avail to NULL since it will only be accessed after assignment. Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
This commit is contained in:
parent
e9ddbb2be9
commit
0a8e239c18
|
@ -1883,7 +1883,7 @@ int assemble_container_content(struct supertype *st, int mdfd,
|
|||
struct map_ent *map = NULL;
|
||||
int old_raid_disks;
|
||||
int start_reshape;
|
||||
char *avail = NULL;
|
||||
char *avail;
|
||||
int err;
|
||||
|
||||
sysfs_init(content, mdfd, NULL);
|
||||
|
|
Loading…
Reference in New Issue