target: Remove unnecessary *cdb transport_get_lun_for_cmd parameter
authorNicholas Bellinger <nab@linux-iscsi.org>
Tue, 19 Jul 2011 08:09:01 +0000 (08:09 +0000)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 22 Jul 2011 09:37:42 +0000 (09:37 +0000)
commitefa4988d72c69d3024ee25ad1ae87c83b9f8267e
tree7ee08a9e843d21a0163cbaa579f9b042ed929b29
parente434f1f182674d775c52869d49f714a2614d1c66
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>
drivers/target/loopback/tcm_loop.c
drivers/target/target_core_device.c
drivers/target/tcm_fc/tfc_cmd.c
include/target/target_core_device.h