nvme: Suppress static analyis warning
authorKeith Busch <keith.busch@intel.com>
Thu, 16 Nov 2017 20:36:50 +0000 (13:36 -0700)
committerChristoph Hellwig <hch@lst.de>
Mon, 20 Nov 2017 07:38:11 +0000 (08:38 +0100)
commit9941a862cc92e448df95709ff40a618964b25e33
treef824393e52adfe70be582725402e374aa2ecac1c
parentb0d61d586f09fd814a45a5d778fe0d6123f67c2a
nvme: Suppress static analyis warning

The ns->head is always valid, so we don't need to check for NULL.

Reported-by: Dan Carpenter <dan.caprenter@oracle.com>
Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c