]> 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)
commit5771de81e7d3a8ae80d22559c10ea88482fb6893
tree0c04e1c9f21917588bf5cc129189b9b10eed33b7
parent145d568d27544e34c196a57dd0fa852eefaf8488
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