]> git.baikalelectronics.ru Git - kernel.git/commit
scsi_debug: resp_request: remove unused variable
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 28 Jul 2015 13:54:26 +0000 (16:54 +0300)
committerJames Bottomley <JBottomley@Odin.com>
Sun, 6 Sep 2015 18:03:14 +0000 (11:03 -0700)
commit4b4c834155f8725878e2cef11299630d18a76caf
tree26f83206c9584e524073a19483acbbccabf88cfb
parent22853e2881ec0abcae6aaa0a2ac6297aaba43dfc
scsi_debug: resp_request: remove unused variable

Fixes the following warning

In function ‘resp_requests’:
drivers/scsi//scsi_debug.c:1432:15: warning: variable ‘want_dsense’ set
but not used [-Wunused-but-set-variable]
  bool dsense, want_dsense;

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/scsi_debug.c