tcm_fc: Simplify ft_send_work for tmr path
authorAndy Grover <agrover@redhat.com>
Thu, 9 Feb 2012 06:42:33 +0000 (06:42 +0000)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 25 Feb 2012 22:37:47 +0000 (14:37 -0800)
commit0dccb69d42a06d438c979c933a1657cb0b4ec4fb
tree0e56f56d33907726932c9074d26d1faae60fdee8
parent4f26998a79b30a5c912cfa1a759fa0c3e6f6414e
tcm_fc: Simplify ft_send_work for tmr path

Check fc_tm_flags early and call ft_send_tm() right away. Don't need to
set local vars for tm case.

data_len local var now unneeded, remove.

Signed-off-by: Andy Grover <agrover@redhat.com>
Cc: Kiran Patil <kiran.patil@intel.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/tcm_fc/tfc_cmd.c