Skip to content

Commit 3c018bf

Browse files
efzrhvinodkoul
authored andcommitted
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 bfe1d56 ("dmaengine: idxd: Init and probe for Intel data accelerators") but they were never used. Signed-off-by: Eder Zulian <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 7d33e0e commit 3c018bf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/dma/idxd/idxd.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
#define IDXD_DRIVER_VERSION "1.00"
2121

22-
extern struct kmem_cache *idxd_desc_pool;
2322
extern bool tc_override;
2423

2524
struct idxd_wq;
@@ -171,7 +170,6 @@ struct idxd_cdev {
171170

172171
#define DRIVER_NAME_SIZE 128
173172

174-
#define IDXD_ALLOCATED_BATCH_SIZE 128U
175173
#define WQ_NAME_SIZE 1024
176174
#define WQ_TYPE_SIZE 10
177175

0 commit comments

Comments
 (0)