mirror of
https://github.com/torvalds/linux.git
synced 2024-11-28 15:11:31 +00:00
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>
This commit is contained in:
parent
6fc6148865
commit
c2337c7091
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user