Skip to content
Commit 03036184 authored by Gustavo A. R. Silva's avatar Gustavo A. R. Silva Committed by Samuel Ortiz
Browse files

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: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent a0323b97
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment