diff mbox series

[-next] scsi: Remove unused extern declarations

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

Commit Message

Yue Haibing Aug. 9, 2023, 2:21 p.m. UTC
These declarations is never implemented since the beginning of git history.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/scsi/scsi_priv.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Bart Van Assche Aug. 9, 2023, 10:05 p.m. UTC | #1
On 8/9/23 07:21, Yue Haibing wrote:
> These declarations is never implemented since the beginning of git history.

declarations is never -> functions have not been

Anyway:

Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Martin K. Petersen Aug. 21, 2023, 8:23 p.m. UTC | #2
Yue,

> These declarations is never implemented since the beginning of git
> history.

Applied to 6.6/scsi-staging, thanks!
Martin K. Petersen Aug. 25, 2023, 1:13 a.m. UTC | #3
On Wed, 09 Aug 2023 22:21:07 +0800, Yue Haibing wrote:

> These declarations is never implemented since the beginning of git history.
> 
> 

Applied to 6.6/scsi-queue, thanks!

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

Patch

diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h
index f42388ecb024..118855576ca8 100644
--- a/drivers/scsi/scsi_priv.h
+++ b/drivers/scsi/scsi_priv.h
@@ -103,7 +103,6 @@  bool scsi_noretry_cmd(struct scsi_cmnd *scmd);
 void scsi_eh_done(struct scsi_cmnd *scmd);
 
 /* scsi_lib.c */
-extern int scsi_maybe_unblock_host(struct scsi_device *sdev);
 extern void scsi_device_unbusy(struct scsi_device *sdev, struct scsi_cmnd *cmd);
 extern void scsi_queue_insert(struct scsi_cmnd *cmd, int reason);
 extern void scsi_io_completion(struct scsi_cmnd *, unsigned int);
@@ -155,7 +154,6 @@  extern int scsi_sysfs_add_host(struct Scsi_Host *);
 extern int scsi_sysfs_register(void);
 extern void scsi_sysfs_unregister(void);
 extern void scsi_sysfs_device_initialize(struct scsi_device *);
-extern int scsi_sysfs_target_initialize(struct scsi_device *);
 extern struct scsi_transport_template blank_transport_template;
 extern void __scsi_remove_device(struct scsi_device *);