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)
commiteca9e8271e596b73e3ccefdcd26eb85b46b21a34
tree6a95b8361c900b81f5300abaadec9c5ce34e3521
parentc5be1f2c5bab1538aa29cd42e226d6b80391e3ff
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