Lukas Bulwahn be2553358c scsi: sd: Remove obsolete variable in sd_remove()
Commit 996e509bbc95 ("sd: use __register_blkdev to avoid a modprobe for an
unregistered dev_t") removed blk_register_region(devt, ...) in sd_remove()
and since then, devt is unused in sd_remove().

Hence, make W=1 warns:

  drivers/scsi/sd.c:3516:8:
      warning: variable 'devt' set but not used [-Wunused-but-set-variable]

Simply remove this obsolete variable.

[mkp: fixed commit sha]

Link: https://lore.kernel.org/r/20201214095424.12479-1-lukas.bulwahn@gmail.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-01-05 23:46:33 -05:00
..
2020-10-14 15:15:35 -07:00
2020-12-16 13:34:31 -08:00
2020-12-16 13:34:31 -08:00
2020-12-02 12:59:04 -05:00
2020-12-09 12:14:41 -05:00
2020-12-16 13:34:31 -08:00
2020-03-11 23:07:59 -04:00
2020-12-16 13:34:31 -08:00
2020-12-16 13:34:31 -08:00
2020-10-14 15:15:35 -07:00
2020-12-16 13:34:31 -08:00
2017-12-04 20:32:53 -05:00
2020-10-23 16:19:02 -07:00
2018-06-19 22:02:25 -04:00
2019-11-12 22:21:35 -05:00
2020-02-24 14:54:25 -05:00
2020-03-11 23:07:59 -04:00
2020-10-07 21:48:28 -04:00
2019-01-08 21:58:35 -05:00
2020-09-02 22:49:06 -04:00
2020-12-16 13:34:31 -08:00
2020-09-02 22:49:06 -04:00
2020-08-23 17:36:59 -05:00
2020-10-26 18:23:24 -04:00
2018-11-06 21:31:28 -05:00
2020-07-24 22:09:55 -04:00
2020-12-16 13:34:31 -08:00
2020-12-07 20:24:09 -05:00
2020-10-14 15:15:35 -07:00
2020-12-07 20:24:09 -05:00
2020-12-07 20:24:09 -05:00
2020-09-15 17:34:18 -04:00
2020-08-23 17:36:59 -05:00
2020-10-14 15:15:35 -07:00
2020-10-14 15:15:35 -07:00
2021-01-01 12:58:07 -08:00
2020-06-19 23:06:43 -04:00
2018-06-19 22:02:25 -04:00
2020-12-01 14:53:39 -07:00
2020-10-14 15:15:35 -07:00
2019-07-11 15:14:01 -07:00
2020-02-24 15:01:57 -05:00
2020-10-26 18:23:24 -04:00
2020-12-16 11:49:46 -08:00
2020-10-14 15:15:35 -07:00
2019-07-11 15:14:01 -07:00