summaryrefslogtreecommitdiffstats
path: root/drivers/target/iscsi
diff options
context:
space:
mode:
authorDan Carpenter <error27@gmail.com>2011-08-08 23:02:27 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2011-08-22 21:26:18 +0200
commitc2337c709102b343bd917ae00c79b266fb15b871 (patch)
tree542f9e6f5d14e714e9dc8f0ae73292b8a8e643f0 /drivers/target/iscsi
parenttarget: Convert target_core_rd.c to use use BUG_ON (diff)
downloadlinux-c2337c709102b343bd917ae00c79b266fb15b871.tar.xz
linux-c2337c709102b343bd917ae00c79b266fb15b871.zip
iscsi-target: remove duplicate return
We returned on the line before already. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/iscsi')
-rw-r--r--drivers/target/iscsi/iscsi_target.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/target/iscsi/iscsi_target.c b/drivers/target/iscsi/iscsi_target.c
index c24fb10de60b..6a4ea29c2f36 100644
--- a/drivers/target/iscsi/iscsi_target.c
+++ b/drivers/target/iscsi/iscsi_target.c
@@ -2243,7 +2243,6 @@ static int iscsit_handle_snack(
case 0:
return iscsit_handle_recovery_datain_or_r2t(conn, buf,
hdr->itt, hdr->ttt, hdr->begrun, hdr->runlength);
- return 0;
case ISCSI_FLAG_SNACK_TYPE_STATUS:
return iscsit_handle_status_snack(conn, hdr->itt, hdr->ttt,
hdr->begrun, hdr->runlength);