]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
nvmet-tcp: remove redundant calls to nvmet_tcp_fatal_error()
authorMaurizio Lombardi <mlombard@redhat.com>
Mon, 16 Mar 2026 14:39:36 +0000 (15:39 +0100)
committerKeith Busch <kbusch@kernel.org>
Wed, 8 Apr 2026 19:05:06 +0000 (12:05 -0700)
commitbad44c9c312f07b590ad7be892a95693baba976e
tree71ca98aa9331b3ee41de84a1062320eb7fe60e2f
parentea8e356acb165cb1fd75537a52e1f66e5e76c538
nvmet-tcp: remove redundant calls to nvmet_tcp_fatal_error()

Executing nvmet_tcp_fatal_error() is generally the responsibility
of the caller (nvmet_tcp_try_recv); all other functions should
just return the error code.

Remove the nvmet_tcp_fatal_error() function, it's not needed
anymore.

Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/target/tcp.c