Message ID | 20220523083838.227987-1-hch@lst.de (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | scsi: unexport scsi_bus_type | expand |
Christoph,
> scsi_bus_type is not used by any code outside of scsi_mod.ko.
Applied to 5.19/scsi-staging, thanks!
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 --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) {
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(-)