]> git.baikalelectronics.ru Git - kernel.git/commit
cxlflash: Remove unused variable from queuecommand
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>
Wed, 26 Aug 2015 23:36:12 +0000 (18:36 -0500)
committerJames Bottomley <JBottomley@Odin.com>
Thu, 27 Aug 2015 01:08:47 +0000 (18:08 -0700)
commit0308a74c916d2261bc8ef458753462ba741513b6
tree7cc1f56d4fa8d553ab49be60145d9e2917c9b247
parentaadc59189121be7039cbd901a2ef15ef4e1fb42f
cxlflash: Remove unused variable from queuecommand

The queuecommand routine has a local dev pointer used for the
dev_* prints. The two prints that currently exist are tucked
under a debug define and thus can be left out. Use the actual
location instead of a local to avoid this warning.

This patch is intended to be applied after the "CXL Flash Error
Recovery and Superpipe" series.

Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Manoj N. Kumar <manoj@linux.vnet.ibm.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/cxlflash/main.c