Skip to contentSkip to conversation

scsi: unexport scsi_bus_type

PATCH Applied Christoph Hellwig 2 participants 3 messages May 23, 2022 – May 24, 2022 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: unexport scsi_bus_type

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

---
 drivers/scsi/scsi_sysfs.c | 1 -
 1 file changed, 1 deletion(-)
drivers/scsi/scsi_sysfs.c +0 -1
index dc6872e352bd4..81b6ca75f395f 100644
@@ -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)
 {
Signature · 1 line
2.30.2
#1 lore raw

Christoph,

Quoted 1 line

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

Applied to 5.19/scsi-staging, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering