aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptbase.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2018-07-13 08:39:54 +0000
committerMartin K. Petersen <[email protected]>2018-07-31 03:17:53 +0000
commitcc74e31d4147f26ead6ea06e4649d63a14edc0fe (patch)
treef8a141f8315c6b63df6678120eac63f23d6a8d4c /drivers/message/fusion/mptbase.c
parentscsi: ibmvscsi: change strncpy+truncation to strlcpy (diff)
downloadkernel-cc74e31d4147f26ead6ea06e4649d63a14edc0fe.tar.gz
kernel-cc74e31d4147f26ead6ea06e4649d63a14edc0fe.zip
scsi: lpfc: remove null check on nvmebuf
The null checks on nvmebuf are redundant as nvmebuf is always obtained from a container_of() and hence can never be null. Remove all the redundant null checks. This also cleans up a static analysis warning. Detected by CoverityScan, CID#1471753 ("Dereference before null check") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/message/fusion/mptbase.c')
0 files changed, 0 insertions, 0 deletions