aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_device.c
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2011-07-19 08:09:01 +0000
committerNicholas Bellinger <nab@linux-iscsi.org>2011-07-22 09:37:42 +0000
commitefa4988d72c69d3024ee25ad1ae87c83b9f8267e (patch)
tree7ee08a9e843d21a0163cbaa579f9b042ed929b29 /drivers/target/target_core_device.c
parente434f1f182674d775c52869d49f714a2614d1c66 (diff)
downloadkernel_goldelico_gta04-efa4988d72c69d3024ee25ad1ae87c83b9f8267e.zip
kernel_goldelico_gta04-efa4988d72c69d3024ee25ad1ae87c83b9f8267e.tar.gz
kernel_goldelico_gta04-efa4988d72c69d3024ee25ad1ae87c83b9f8267e.tar.bz2
target: Remove unnecessary *cdb transport_get_lun_for_cmd parameter
This patch removes the now unnecessary 'unsigned char *cdb' function parameter from transport_get_lun_for_cmd(). This also includes updating lio-target, tcm_loop and tcm_fc usage of transport_get_lun_for_cmd(). Reported-by: Fubo Chen <fubo.chen@gmail.com> Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_device.c')
-rw-r--r--drivers/target/target_core_device.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/target/target_core_device.c b/drivers/target/target_core_device.c
index f5516a1..e76ffc5 100644
--- a/drivers/target/target_core_device.c
+++ b/drivers/target/target_core_device.c
@@ -56,7 +56,6 @@ static void se_dev_stop(struct se_device *dev);
int transport_get_lun_for_cmd(
struct se_cmd *se_cmd,
- unsigned char *cdb,
u32 unpacked_lun)
{
struct se_dev_entry *deve;