Files
linux/drivers/scsi
Lukas Bulwahn be2553358c scsi: sd: Remove obsolete variable in sd_remove()
Commit 996e509bbc ("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/[email protected]
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Nathan Chancellor <[email protected]>
Acked-by: Martin K. Petersen <[email protected]>
Signed-off-by: Lukas Bulwahn <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
2021-01-05 23:46:33 -05:00
..
2020-12-02 12:59:04 -05:00
2020-12-09 12:14:41 -05:00
2020-03-11 23:07:59 -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
…
…
2020-09-02 22:49:06 -04: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
…
2020-07-24 22:09:55 -04:00
2020-12-07 20:24:09 -05: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-06-19 23:06:43 -04:00
…
2020-12-01 14:53:39 -07:00
…
…
2020-02-24 15:01:57 -05:00
2020-10-26 18:23:24 -04:00
…
…
…