diff options
author | Dave Jiang <dave.jiang@intel.com> | 2022-05-07 01:23:52 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-05-16 15:59:13 +0300 |
commit | 8e6226f0f1a321de5f9ffdcb3fe920f94b45d38b (patch) | |
tree | 8c2faa330b95a8e7230bef83099383c02a4ac970 /drivers/dma/idxd/idxd.h | |
parent | 517a710ac8fe9cbc48d0ec3ca81377f6ef3b86b7 (diff) | |
download | linux-8e6226f0f1a321de5f9ffdcb3fe920f94b45d38b.tar.xz |
dmaengine: idxd: make idxd_register/unregister_dma_channel() static
Since idxd_register/unregister_dma_channel() are only called locally, make
them static.
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/165187583222.3287435.12882651040433040246.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/idxd/idxd.h')
-rw-r--r-- | drivers/dma/idxd/idxd.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/idxd/idxd.h b/drivers/dma/idxd/idxd.h index 77d241a92bd1..fed0dfc1eaa8 100644 --- a/drivers/dma/idxd/idxd.h +++ b/drivers/dma/idxd/idxd.h @@ -612,8 +612,6 @@ int idxd_enqcmds(struct idxd_wq *wq, void __iomem *portal, const void *desc); /* dmaengine */ int idxd_register_dma_device(struct idxd_device *idxd); void idxd_unregister_dma_device(struct idxd_device *idxd); -int idxd_register_dma_channel(struct idxd_wq *wq); -void idxd_unregister_dma_channel(struct idxd_wq *wq); void idxd_parse_completion_status(u8 status, enum dmaengine_tx_result *res); void idxd_dma_complete_txd(struct idxd_desc *desc, enum idxd_complete_type comp_type, bool free_desc); |