nvmet: remove else at the end of the function
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Wed, 10 Feb 2021 05:48:02 +0000 (21:48 -0800)
committerChristoph Hellwig <hch@lst.de>
Wed, 10 Feb 2021 15:38:06 +0000 (16:38 +0100)
commit295a39f5a56f3276bae6a0ae5c26ce06bb8aa21c
tree5ccea5613edfe85058debb9b6d46c38271633be5
parent20c2c3bb83f26c42bf62cc773f96f30848ed11a2
nvmet: remove else at the end of the function

The function nvmet_parse_io_cmd() returns value from
nvmet_file_parse_io_cmd() or nvmet_bdev_parse_io_cmd() based on which
backend is set for the request. Remove the else and just return the
value from nvmet_bdev_parse_io_cmd().

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