Skip to content

Commit

Permalink
dmaengine: idxd: Remove unused idxd_(un)register_bus_type
Browse files Browse the repository at this point in the history
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 <linux@treblig.org>
Reviewed-by: Fenghua Yu <fenghua.yu@intel.com>
Link: https://lore.kernel.org/r/20241221141635.69412-1-linux@treblig.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
  • Loading branch information
Dr. David Alan Gilbert authored and Vinod Koul committed Dec 24, 2024
1 parent 9d88045 commit 3082137
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions drivers/dma/idxd/idxd.h
Original file line number Diff line number Diff line change
Expand Up @@ -725,8 +725,6 @@ static inline void idxd_desc_complete(struct idxd_desc *desc,
&desc->txd, &status);
}

int idxd_register_bus_type(void);
void idxd_unregister_bus_type(void);
int idxd_register_devices(struct idxd_device *idxd);
void idxd_unregister_devices(struct idxd_device *idxd);
void idxd_wqs_quiesce(struct idxd_device *idxd);
Expand Down
10 changes: 0 additions & 10 deletions drivers/dma/idxd/sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1979,13 +1979,3 @@ void idxd_unregister_devices(struct idxd_device *idxd)
device_unregister(group_confdev(group));
}
}

int idxd_register_bus_type(void)
{
return bus_register(&dsa_bus_type);
}

void idxd_unregister_bus_type(void)
{
bus_unregister(&dsa_bus_type);
}

0 comments on commit 3082137

Please sign in to comment.