nvme-tcp: cleanup nvme_tcp_recv_pdu
authorSagi Grimberg <sagi@grimberg.me>
Fri, 19 Jul 2019 19:46:46 +0000 (12:46 -0700)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 29 Aug 2019 19:55:00 +0000 (12:55 -0700)
commit6be182607db98f9672865fed3ee3bf8b98e62dd4
tree50af8d490e6ee86056c547ef1ebb184486019601
parent3532e7227243beb0b782266dc05c40b6184ad051
nvme-tcp: cleanup nvme_tcp_recv_pdu

Can return directly in the switch statement

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/tcp.c