diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2020-03-02 17:39:21 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-03-12 06:07:57 +0300 |
commit | b893eb0141cb4b896b275d00bea2deb64f6f1eac (patch) | |
tree | 22a0b6a331bf69ddb4af4601d0fb980ef56a0f1f /drivers/scsi | |
parent | 5848fe960b080b1e731b467b6e026de841c65234 (diff) | |
download | linux-b893eb0141cb4b896b275d00bea2deb64f6f1eac.tar.xz |
scsi: ibmvfc: Fix NULL return compiler warning
Fix up a compiler warning introduced via 54b04c99d02e
Link: https://lore.kernel.org/r/1583159961-15903-1-git-send-email-brking@linux.vnet.ibm.com
Fixes: 54b04c99d02e ("scsi: ibmvfc: Avoid loss of all paths during SVC node reboot")
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvfc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvfc.c b/drivers/scsi/ibmvscsi/ibmvfc.c index 84dd8c5145c8..7da9e060b270 100644 --- a/drivers/scsi/ibmvscsi/ibmvfc.c +++ b/drivers/scsi/ibmvscsi/ibmvfc.c @@ -3641,7 +3641,7 @@ static void ibmvfc_tgt_implicit_logout_and_del(struct ibmvfc_target *tgt) struct ibmvfc_event *evt; if (vhost->discovery_threads >= disc_threads) - return NULL; + return; vhost->discovery_threads++; evt = __ibmvfc_tgt_get_implicit_logout_evt(tgt, |