forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/scsi/csiostor/csio_attr.c
....@@ -497,7 +497,6 @@
497497 static int
498498 csio_fcoe_free_vnp(struct csio_hw *hw, struct csio_lnode *ln)
499499 {
500
- struct csio_lnode *pln;
501500 struct csio_mb *mbp;
502501 struct fw_fcoe_vnp_cmd *rsp;
503502 int ret = 0;
....@@ -513,8 +512,6 @@
513512 ret = -ENOMEM;
514513 goto out;
515514 }
516
-
517
- pln = ln->pln;
518515
519516 csio_fcoe_vnp_free_init_mb(ln, mbp, CSIO_MB_DEFAULT_TMO,
520517 ln->fcf_flowid, ln->vnp_flowid,