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:
Jes Sorensen 2016-03-09 15:21:26 -05:00
parent e9ddbb2be9
commit 0a8e239c18
1 changed files with 1 additions and 1 deletions

View File

@ -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);