projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fc6148
)
iscsi-target: remove duplicate return
author
Dan Carpenter
<error27@gmail.com>
Mon, 8 Aug 2011 21:02:27 +0000
(14:02 -0700)
committer
Nicholas Bellinger
<nab@linux-iscsi.org>
Mon, 22 Aug 2011 19:26:18 +0000
(19:26 +0000)
We returned on the line before already.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/iscsi_target.c
patch
|
blob
|
history
diff --git
a/drivers/target/iscsi/iscsi_target.c
b/drivers/target/iscsi/iscsi_target.c
index
c24fb10
..
6a4ea29
100644
(file)
--- 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);