mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +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
1 changed files with 0 additions and 1 deletions
|
@ -2243,7 +2243,6 @@ static int iscsit_handle_snack(
|
||||||
case 0:
|
case 0:
|
||||||
return iscsit_handle_recovery_datain_or_r2t(conn, buf,
|
return iscsit_handle_recovery_datain_or_r2t(conn, buf,
|
||||||
hdr->itt, hdr->ttt, hdr->begrun, hdr->runlength);
|
hdr->itt, hdr->ttt, hdr->begrun, hdr->runlength);
|
||||||
return 0;
|
|
||||||
case ISCSI_FLAG_SNACK_TYPE_STATUS:
|
case ISCSI_FLAG_SNACK_TYPE_STATUS:
|
||||||
return iscsit_handle_status_snack(conn, hdr->itt, hdr->ttt,
|
return iscsit_handle_status_snack(conn, hdr->itt, hdr->ttt,
|
||||||
hdr->begrun, hdr->runlength);
|
hdr->begrun, hdr->runlength);
|
||||||
|
|
Loading…
Reference in a new issue