scsi: sd: remove duplicated setting of gd->minors
authorweiping zhang <zhangweiping@didichuxing.com>
Fri, 18 Aug 2017 06:49:30 +0000 (14:49 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 21:26:08 +0000 (17:26 -0400)
commit5f800c87dadf0857b31ccb6217d6d42d4c1fe157
treed37c0899276c3e128d7f018a9c711846b28192f7
parent8978001a3d4f7e8efedd9ff73eff21f8b5dfba65
scsi: sd: remove duplicated setting of gd->minors

gd->minors has been set when call alloc_disk() in sd_probe.

Signed-off-by: weiping zhang <zhangweiping@didichuxing.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sd.c