Commit b579a8f7 authored by Martin Schwidefsky's avatar Martin Schwidefsky Committed by Linus Torvalds

[PATCH] s390 update: superfluous memset

Remove a duplicate memset. That is already done in alloc_disk.
parent 6be2f1e5
......@@ -195,7 +195,6 @@ dasd_gendisk_alloc(int devindex)
return ERR_PTR(-ENOMEM);
/* Initialize gendisk structure. */
memset(gdp, 0, sizeof(struct gendisk));
gdp->major = mi->major;
gdp->first_minor = index << DASD_PARTN_BITS;
gdp->minor_shift = DASD_PARTN_BITS;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment