diff mbox series

[-next] scsi: qed: Remove unused declarations

Message ID 20230822143338.19120-1-yuehaibing@huawei.com (mailing list archive)
State Accepted
Headers show
Series [-next] scsi: qed: Remove unused declarations | expand

Commit Message

Yue Haibing Aug. 22, 2023, 2:33 p.m. UTC
Thes declarations are never implemented, remove them.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/scsi/qedf/qedf.h     | 1 -
 drivers/scsi/qedi/qedi_gbl.h | 2 --
 2 files changed, 3 deletions(-)

Comments

Martin K. Petersen Aug. 31, 2023, 1:48 a.m. UTC | #1
On Tue, 22 Aug 2023 22:33:38 +0800, Yue Haibing wrote:

> Thes declarations are never implemented, remove them.
> 
> 

Applied to 6.6/scsi-queue, thanks!

[1/1] scsi: qed: Remove unused declarations
      https://git.kernel.org/mkp/scsi/c/e1a87e29fbc8
diff mbox series

Patch

diff --git a/drivers/scsi/qedf/qedf.h b/drivers/scsi/qedf/qedf.h
index c5c0bbdafc4e..1619cc33034f 100644
--- a/drivers/scsi/qedf/qedf.h
+++ b/drivers/scsi/qedf/qedf.h
@@ -548,7 +548,6 @@  extern void qedf_get_generic_tlv_data(void *dev, struct qed_generic_tlvs *data);
 extern void qedf_wq_grcdump(struct work_struct *work);
 void qedf_stag_change_work(struct work_struct *work);
 void qedf_ctx_soft_reset(struct fc_lport *lport);
-extern void qedf_board_disable_work(struct work_struct *work);
 extern void qedf_schedule_hw_err_handler(void *dev,
 		enum qed_hw_err_type err_type);
 
diff --git a/drivers/scsi/qedi/qedi_gbl.h b/drivers/scsi/qedi/qedi_gbl.h
index 0e316cc24b19..772218445a56 100644
--- a/drivers/scsi/qedi/qedi_gbl.h
+++ b/drivers/scsi/qedi/qedi_gbl.h
@@ -67,8 +67,6 @@  void qedi_trace_io(struct qedi_ctx *qedi, struct iscsi_task *task,
 int qedi_alloc_id(struct qedi_portid_tbl *id_tbl, u16 id);
 u16 qedi_alloc_new_id(struct qedi_portid_tbl *id_tbl);
 void qedi_free_id(struct qedi_portid_tbl *id_tbl, u16 id);
-int qedi_create_sysfs_ctx_attr(struct qedi_ctx *qedi);
-void qedi_remove_sysfs_ctx_attr(struct qedi_ctx *qedi);
 void qedi_clearsq(struct qedi_ctx *qedi,
 		  struct qedi_conn *qedi_conn,
 		  struct iscsi_task *task);