diff mbox series

[3/4] scsi: csiostor: Remove unnecessary (void*) conversions

Message ID 20230413111248.12279-1-liqiong@nfschina.com
State New
Headers show
Series [1/4] scsi: qla2xxx: Remove unnecessary (void*) conversions | expand

Commit Message

Li Qiong April 13, 2023, 11:12 a.m. UTC
No need to cast (void*) pointer to other type.

Signed-off-by: Li Qiong <liqiong@nfschina.com>
---
 drivers/scsi/csiostor/csio_lnode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/scsi/csiostor/csio_lnode.c b/drivers/scsi/csiostor/csio_lnode.c
index d5ac93897023..ff9cd26703aa 100644
--- a/drivers/scsi/csiostor/csio_lnode.c
+++ b/drivers/scsi/csiostor/csio_lnode.c
@@ -782,7 +782,7 @@  csio_fcoe_enable_link(struct csio_lnode *ln, bool enable)
 static void
 csio_ln_read_fcf_cbfn(struct csio_hw *hw, struct csio_mb *mbp)
 {
-	struct csio_lnode *ln = (struct csio_lnode *)mbp->priv;
+	struct csio_lnode *ln = mbp->priv;
 	struct csio_fcf_info	*fcf_info;
 	struct fw_fcoe_fcf_cmd *rsp =
 				(struct fw_fcoe_fcf_cmd *)(mbp->mb);