From: lijian <[email protected]>
Removed unnecessary 'return'.
Signed-off-by: lijian <[email protected]>
---
drivers/scsi/lpfc/lpfc_ct.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc/lpfc_ct.c
index 450f3a3fa911..d6332f6dcc98 100644
--- a/drivers/scsi/lpfc/lpfc_ct.c
+++ b/drivers/scsi/lpfc/lpfc_ct.c
@@ -483,7 +483,6 @@ lpfc_free_ct_rsp(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist)
}
lpfc_mbuf_free(phba, mlist->virt, mlist->phys);
kfree(mlist);
- return;
}
static struct lpfc_dmabuf *
@@ -1136,7 +1135,6 @@ lpfc_cmpl_ct_cmd_gid_ft(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
out:
lpfc_ct_free_iocb(phba, cmdiocb);
lpfc_nlp_put(ndlp);
- return;
}
static void
@@ -1482,7 +1480,6 @@ lpfc_cmpl_ct_cmd_gff_id(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
free_ndlp = cmdiocb->context_un.ndlp;
lpfc_ct_free_iocb(phba, cmdiocb);
lpfc_nlp_put(free_ndlp);
- return;
}
static void
@@ -1645,7 +1642,6 @@ lpfc_cmpl_ct(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
out:
lpfc_ct_free_iocb(phba, cmdiocb);
lpfc_nlp_put(ndlp);
- return;
}
static void
@@ -1666,7 +1662,6 @@ lpfc_cmpl_ct_cmd_rft_id(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
vport->ct_flags |= FC_CT_RFT_ID;
}
lpfc_cmpl_ct(phba, cmdiocb, rspiocb);
- return;
}
static void
@@ -1687,7 +1682,6 @@ lpfc_cmpl_ct_cmd_rnn_id(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
vport->ct_flags |= FC_CT_RNN_ID;
}
lpfc_cmpl_ct(phba, cmdiocb, rspiocb);
- return;
}
static void
@@ -1708,7 +1702,6 @@ lpfc_cmpl_ct_cmd_rspn_id(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
vport->ct_flags |= FC_CT_RSPN_ID;
}
lpfc_cmpl_ct(phba, cmdiocb, rspiocb);
- return;
}
static void
@@ -1729,7 +1722,6 @@ lpfc_cmpl_ct_cmd_rsnn_nn(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
vport->ct_flags |= FC_CT_RSNN_NN;
}
lpfc_cmpl_ct(phba, cmdiocb, rspiocb);
- return;
}
static void
@@ -1741,7 +1733,6 @@ lpfc_cmpl_ct_cmd_da_id(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
/* even if it fails we will act as though it succeeded. */
vport->ct_flags = 0;
lpfc_cmpl_ct(phba, cmdiocb, rspiocb);
- return;
}
static void
@@ -1762,7 +1753,6 @@ lpfc_cmpl_ct_cmd_rff_id(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
vport->ct_flags |= FC_CT_RFF_ID;
}
lpfc_cmpl_ct(phba, cmdiocb, rspiocb);
- return;
}
/*
@@ -2327,7 +2317,6 @@ lpfc_cmpl_ct_disc_fdmi(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
}
break;
}
- return;
}
@@ -3637,7 +3626,6 @@ lpfc_delayed_disc_tmo(struct timer_list *t)
if (!tmo_posted)
lpfc_worker_wake_up(phba);
- return;
}
/**
@@ -3746,5 +3734,4 @@ lpfc_decode_firmware_rev(struct lpfc_hba *phba, char *fwrevision, int flag)
sprintf(fwrevision, "%d.%d%d%c%d", b1, b2, b3, c, b4);
}
- return;
}
--
2.25.1