Skip to content

Commit 3082137

Browse files
Dr. David Alan Gilbertvinodkoul
authored andcommitted
dmaengine: idxd: Remove unused idxd_(un)register_bus_type
idxd_register_bus_type() and idxd_unregister_bus_type() have been unused since 2021's commit d9e5481 ("dmaengine: dsa: move dsa_bus_type out of idxd driver to standalone") Remove them. Signed-off-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: Fenghua Yu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 9d88045 commit 3082137

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

drivers/dma/idxd/idxd.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -725,8 +725,6 @@ static inline void idxd_desc_complete(struct idxd_desc *desc,
725725
&desc->txd, &status);
726726
}
727727

728-
int idxd_register_bus_type(void);
729-
void idxd_unregister_bus_type(void);
730728
int idxd_register_devices(struct idxd_device *idxd);
731729
void idxd_unregister_devices(struct idxd_device *idxd);
732730
void idxd_wqs_quiesce(struct idxd_device *idxd);

drivers/dma/idxd/sysfs.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1979,13 +1979,3 @@ void idxd_unregister_devices(struct idxd_device *idxd)
19791979
device_unregister(group_confdev(group));
19801980
}
19811981
}
1982-
1983-
int idxd_register_bus_type(void)
1984-
{
1985-
return bus_register(&dsa_bus_type);
1986-
}
1987-
1988-
void idxd_unregister_bus_type(void)
1989-
{
1990-
bus_unregister(&dsa_bus_type);
1991-
}

0 commit comments

Comments
 (0)