Commit 3c018bf5 authored by Eder Zulian's avatar Eder Zulian Committed by Vinod Koul
Browse files

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
bfe1d560 ("dmaengine: idxd: Init and probe for Intel data
accelerators") but they were never used.

Signed-off-by: default avatarEder Zulian <ezulian@redhat.com>
Reviewed-by: default avatarDave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20250408173829.892317-1-ezulian@redhat.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 7d33e0ee
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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