diff options
author | Dan Carpenter <error27@gmail.com> | 2011-08-08 23:02:27 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2011-08-22 21:26:18 +0200 |
commit | c2337c709102b343bd917ae00c79b266fb15b871 (patch) | |
tree | 542f9e6f5d14e714e9dc8f0ae73292b8a8e643f0 /drivers/target/iscsi | |
parent | target: Convert target_core_rd.c to use use BUG_ON (diff) | |
download | linux-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.c | 1 |
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); |