aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEder Zulian <ezulian@redhat.com>2025-04-08 19:38:29 +0200
committerVinod Koul <vkoul@kernel.org>2025-05-14 16:00:30 +0100
commit3c018bf5a0ee3abe8d579d6a0dda616c3858d7b2 (patch)
treeaa16ff2e847ea8e1f4f401b3cfa902e07c102bfd
parentarm64: dts: renesas: r9a09g057: Add DMAC nodes (diff)
downloadlinux-rng-3c018bf5a0ee3abe8d579d6a0dda616c3858d7b2.tar.xz
linux-rng-3c018bf5a0ee3abe8d579d6a0dda616c3858d7b2.zip
dmaengine: idxd: Remove unused pointer and macro
The pointer 'extern struct kmem_cache *idxd_desc_pool' and the macro '#define IDXD_ALLOCATED_BATCH_SIZE 128U' were introduced in commit bfe1d56091c1 ("dmaengine: idxd: Init and probe for Intel data accelerators") but they were never used. Signed-off-by: Eder Zulian <ezulian@redhat.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/20250408173829.892317-1-ezulian@redhat.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
-rw-r--r--drivers/dma/idxd/idxd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/idxd/idxd.h b/drivers/dma/idxd/idxd.h
index 214b8039439f..74e6695881e6 100644
--- a/drivers/dma/idxd/idxd.h
+++ b/drivers/dma/idxd/idxd.h
@@ -19,7 +19,6 @@
#define IDXD_DRIVER_VERSION "1.00"
-extern struct kmem_cache *idxd_desc_pool;
extern bool tc_override;
struct idxd_wq;
@@ -171,7 +170,6 @@ struct idxd_cdev {
#define DRIVER_NAME_SIZE 128
-#define IDXD_ALLOCATED_BATCH_SIZE 128U
#define WQ_NAME_SIZE 1024
#define WQ_TYPE_SIZE 10