commit | cc74e31d4147f26ead6ea06e4649d63a14edc0fe | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Fri Jul 13 09:39:54 2018 +0100 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Mon Jul 30 23:17:53 2018 -0400 |
tree | f8a141f8315c6b63df6678120eac63f23d6a8d4c | |
parent | a544523887007ba2b6bd73419c4e2f0ab9bb3633 [diff] |
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 <colin.king@canonical.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>