Skip to content

Commit

Permalink
iscsi-target: remove duplicate return
Browse files Browse the repository at this point in the history
We returned on the line before already.

Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
  • Loading branch information
error27 authored and Nicholas Bellinger committed Aug 22, 2011
1 parent 6fc6148 commit c2337c7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/target/iscsi/iscsi_target.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c2337c7

Please sign in to comment.