Skip to content

Commit 3c935af

Browse files
Yue Haibingvinodkoul
authored andcommitted
dmaengine: idxd: Remove unused declarations
Commit c05257b ("dmanegine: idxd: open code the dsa_drv registration") removed idxd_{un}register_driver() definitions but not the declarations. Commit 034b329 ("dmaengine: idxd: create idxd_device sub-driver") declared idxd_{un}register_idxd_drv() but never implemented it. Commit 8f47d1a ("dmaengine: idxd: connect idxd to dmaengine subsystem") declared idxd_parse_completion_status() but never implemented it. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Fenghua Yu <fenghua.yu@intel.com> Link: https://lore.kernel.org/r/20230817114135.50264-1-yuehaibing@huawei.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 0f264ab commit 3c935af

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

drivers/dma/idxd/idxd.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -651,8 +651,6 @@ int idxd_register_bus_type(void);
651651
void idxd_unregister_bus_type(void);
652652
int idxd_register_devices(struct idxd_device *idxd);
653653
void idxd_unregister_devices(struct idxd_device *idxd);
654-
int idxd_register_driver(void);
655-
void idxd_unregister_driver(void);
656654
void idxd_wqs_quiesce(struct idxd_device *idxd);
657655
bool idxd_queue_int_handle_resubmit(struct idxd_desc *desc);
658656
void multi_u64_to_bmap(unsigned long *bmap, u64 *val, int count);
@@ -664,8 +662,6 @@ void idxd_mask_error_interrupts(struct idxd_device *idxd);
664662
void idxd_unmask_error_interrupts(struct idxd_device *idxd);
665663

666664
/* device control */
667-
int idxd_register_idxd_drv(void);
668-
void idxd_unregister_idxd_drv(void);
669665
int idxd_device_drv_probe(struct idxd_dev *idxd_dev);
670666
void idxd_device_drv_remove(struct idxd_dev *idxd_dev);
671667
int drv_enable_wq(struct idxd_wq *wq);
@@ -710,7 +706,6 @@ int idxd_enqcmds(struct idxd_wq *wq, void __iomem *portal, const void *desc);
710706
/* dmaengine */
711707
int idxd_register_dma_device(struct idxd_device *idxd);
712708
void idxd_unregister_dma_device(struct idxd_device *idxd);
713-
void idxd_parse_completion_status(u8 status, enum dmaengine_tx_result *res);
714709
void idxd_dma_complete_txd(struct idxd_desc *desc,
715710
enum idxd_complete_type comp_type, bool free_desc);
716711

0 commit comments

Comments
 (0)