]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: remove an unnecessary condition
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 14 Jul 2020 10:57:32 +0000 (13:57 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 29 Jul 2020 05:45:18 +0000 (07:45 +0200)
commitfd8f6ebe35ce71d07a6318e5b96734528e10d34b
tree6a95b8361c900b81f5300abaadec9c5ce34e3521
parent8eb3a972035ce4aff3e430532e2f5a7cc834d3aa
nvme: remove an unnecessary condition

"v" is an unsigned int so it can't be more than UINT_MAX.  Removing this
check makes it easier to preserve the error code as well.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c