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

From: Li Qiong
Date: Thu Apr 13 2023 - 07:13:44 EST


No need to cast (void*) pointer to other type.

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

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);
--
2.11.0