nvme-tcp: move send failure to nvme_tcp_try_send
authorSagi Grimberg <sagi@grimberg.me>
Wed, 26 Feb 2020 00:43:23 +0000 (16:43 -0800)
committerKeith Busch <kbusch@kernel.org>
Wed, 25 Mar 2020 19:50:21 +0000 (04:50 +0900)
commit5ff4e11264780ce49a9acb66e0b4c5a30a569be4
tree9b02d1a6922da0cd667455984bf37f5e7f6acb23
parent9cda34e37489244a8c8628617e24b2dbc8a8edad
nvme-tcp: move send failure to nvme_tcp_try_send

Consolidate the request failure handling code to where
it is being fetched (nvme_tcp_try_send).

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/tcp.c