nfc: nci: remove unnecessary null check
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Tue, 13 Jun 2017 16:37:18 +0000 (11:37 -0500)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 22 Jun 2017 22:34:18 +0000 (00:34 +0200)
commit03036184e9d4a5b2b42a70b66db9455808dd5da9
tree7cae87bbf374c9102acb636c0cdc97a25e40e9ff
parenta0323b979f81ad2deb2c8836eab506534891876a
nfc: nci: remove unnecessary null check

Remove unnecessary NULL check for pointer conn_info.
conn_info is set in list_for_each_entry() using container_of(),
which is never NULL.

Addresses-Coverity-ID: 1362349
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/nci/core.c