]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4157ccf150faa9a70cb1aaeefbd3111da551f1c7
tree0c04e1c9f21917588bf5cc129189b9b10eed33b7
parent7235b6ccb61c7b304718e76e3bc1981c722ac515
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