nvmet: remove unreachable code
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Thu, 23 Aug 2018 02:58:45 +0000 (19:58 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 17 Oct 2018 06:58:23 +0000 (08:58 +0200)
commit48440ab6dc275a3144474e8c5f45fab854d6e20f
tree0c04e1c9f21917588bf5cc129189b9b10eed33b7
parent886fabf693263e8651c0c4ab84fc626ad6d3a6e7
nvmet: remove unreachable code

Get rid of the unreachable code in the nvmet_parse_discovery_cmd().
Keep the error message identical to the admin-cmd.c and io-cmd*.c

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/discovery.c