diff options
author | 2017-08-25 13:46:42 -0700 | |
---|---|---|
committer | 2017-08-25 17:08:08 -0400 | |
commit | ab17241cef42ac434dcb544ae69e3fc4d451927f (patch) | |
tree | 5a799412fa568e4995987463d33cedc028de976d /drivers/scsi/scsi_lib.c | |
parent | scsi: scsi_transport_srp: Suppress a W=1 compiler warning (diff) | |
download | wireguard-linux-ab17241cef42ac434dcb544ae69e3fc4d451927f.tar.xz wireguard-linux-ab17241cef42ac434dcb544ae69e3fc4d451927f.zip |
scsi: scsi_debug: Remove a set-but-not-used variable
This patch avoids that gcc reports the following warning when
building with W=1:
drivers/scsi/scsi_debug.c:2264:15: warning: variable ?pcontrol? set but not used [-Wunused-but-set-variable]
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Cc: Douglas Gilbert <dgilbert@interlog.com>
Cc: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
0 files changed, 0 insertions, 0 deletions