nvme/nvme_tcp: Remove unnecessary returns.
No need these returns at the end of void functions. So remove them. Signed-off-by: yidong0635 <dongx.yi@intel.com> Change-Id: I8889745f3ef82af513d03259a77a33c1f4f536cb Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6015 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
aa6767fb14
commit
73487b15d8
@ -1070,7 +1070,6 @@ nvme_tcp_icresp_handle(struct nvme_tcp_qpair *tqpair,
|
||||
return;
|
||||
end:
|
||||
nvme_tcp_qpair_send_h2c_term_req(tqpair, pdu, fes, error_offset);
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
@ -1109,7 +1108,6 @@ nvme_tcp_capsule_resp_hdr_handle(struct nvme_tcp_qpair *tqpair, struct nvme_tcp_
|
||||
|
||||
end:
|
||||
nvme_tcp_qpair_send_h2c_term_req(tqpair, pdu, fes, error_offset);
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
@ -1134,7 +1132,6 @@ nvme_tcp_c2h_term_req_hdr_handle(struct nvme_tcp_qpair *tqpair,
|
||||
return;
|
||||
end:
|
||||
nvme_tcp_qpair_send_h2c_term_req(tqpair, pdu, fes, error_offset);
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
@ -1193,7 +1190,6 @@ nvme_tcp_c2h_data_hdr_handle(struct nvme_tcp_qpair *tqpair, struct nvme_tcp_pdu
|
||||
|
||||
end:
|
||||
nvme_tcp_qpair_send_h2c_term_req(tqpair, pdu, fes, error_offset);
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
@ -1361,7 +1357,6 @@ nvme_tcp_r2t_hdr_handle(struct nvme_tcp_qpair *tqpair, struct nvme_tcp_pdu *pdu)
|
||||
|
||||
end:
|
||||
nvme_tcp_qpair_send_h2c_term_req(tqpair, pdu, fes, error_offset);
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user