diff mbox series

scsi: unexport scsi_bus_type

Message ID 20220523083838.227987-1-hch@lst.de (mailing list archive)
State Accepted
Headers show
Series scsi: unexport scsi_bus_type | expand

Commit Message

Christoph Hellwig May 23, 2022, 8:38 a.m. UTC
scsi_bus_type is not used by any code outside of scsi_mod.ko.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 drivers/scsi/scsi_sysfs.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Martin K. Petersen May 24, 2022, 3:17 a.m. UTC | #1
Christoph,

> scsi_bus_type is not used by any code outside of scsi_mod.ko.

Applied to 5.19/scsi-staging, thanks!
Martin K. Petersen May 24, 2022, 6:11 p.m. UTC | #2
On Mon, 23 May 2022 10:38:38 +0200, Christoph Hellwig wrote:

> scsi_bus_type is not used by any code outside of scsi_mod.ko.
> 
> 

Applied to 5.19/scsi-queue, thanks!

[1/1] scsi: unexport scsi_bus_type
      https://git.kernel.org/mkp/scsi/c/7ad36c8b2b80
diff mbox series

Patch

diff --git a/drivers/scsi/scsi_sysfs.c b/drivers/scsi/scsi_sysfs.c
index dc6872e352bd4..81b6ca75f395f 100644
--- a/drivers/scsi/scsi_sysfs.c
+++ b/drivers/scsi/scsi_sysfs.c
@@ -560,7 +560,6 @@  struct bus_type scsi_bus_type = {
 	.pm		= &scsi_bus_pm_ops,
 #endif
 };
-EXPORT_SYMBOL_GPL(scsi_bus_type);
 
 int scsi_sysfs_register(void)
 {