Commit 295a39f5 authored by Chaitanya Kulkarni's avatar Chaitanya Kulkarni Committed by Christoph Hellwig
Browse files

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: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 20c2c3bb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -891,7 +891,7 @@ static u16 nvmet_parse_io_cmd(struct nvmet_req *req)

	if (req->ns->file)
		return nvmet_file_parse_io_cmd(req);
	else

	return nvmet_bdev_parse_io_cmd(req);
}