public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] scsi: Remove unused extern declarations
@ 2023-08-09 14:21 Yue Haibing
  2023-08-09 22:05 ` Bart Van Assche
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Yue Haibing @ 2023-08-09 14:21 UTC (permalink / raw)
  To: jejb, martin.petersen, bvanassche; +Cc: linux-scsi, yuehaibing

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(-)

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 *);
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH -next] scsi: Remove unused extern declarations
  2023-08-09 14:21 [PATCH -next] scsi: Remove unused extern declarations Yue Haibing
@ 2023-08-09 22:05 ` Bart Van Assche
  2023-08-21 20:23 ` Martin K. Petersen
  2023-08-25  1:13 ` Martin K. Petersen
  2 siblings, 0 replies; 4+ messages in thread
From: Bart Van Assche @ 2023-08-09 22:05 UTC (permalink / raw)
  To: Yue Haibing, jejb, martin.petersen; +Cc: linux-scsi

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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -next] scsi: Remove unused extern declarations
  2023-08-09 14:21 [PATCH -next] scsi: Remove unused extern declarations Yue Haibing
  2023-08-09 22:05 ` Bart Van Assche
@ 2023-08-21 20:23 ` Martin K. Petersen
  2023-08-25  1:13 ` Martin K. Petersen
  2 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2023-08-21 20:23 UTC (permalink / raw)
  To: Yue Haibing; +Cc: jejb, martin.petersen, bvanassche, linux-scsi


Yue,

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

Applied to 6.6/scsi-staging, thanks!

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH -next] scsi: Remove unused extern declarations
  2023-08-09 14:21 [PATCH -next] scsi: Remove unused extern declarations Yue Haibing
  2023-08-09 22:05 ` Bart Van Assche
  2023-08-21 20:23 ` Martin K. Petersen
@ 2023-08-25  1:13 ` Martin K. Petersen
  2 siblings, 0 replies; 4+ messages in thread
From: Martin K. Petersen @ 2023-08-25  1:13 UTC (permalink / raw)
  To: jejb, bvanassche, Yue Haibing; +Cc: Martin K . Petersen, linux-scsi

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

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-25  1:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-09 14:21 [PATCH -next] scsi: Remove unused extern declarations Yue Haibing
2023-08-09 22:05 ` Bart Van Assche
2023-08-21 20:23 ` Martin K. Petersen
2023-08-25  1:13 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox