]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dmaengine: idxd: Remove unused pointer and macro
authorEder Zulian <ezulian@redhat.com>
Tue, 8 Apr 2025 17:38:29 +0000 (19:38 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 14 May 2025 15:00:30 +0000 (16:00 +0100)
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>
drivers/dma/idxd/idxd.h

index 214b8039439fef791f14d521a2390566f7f37d5e..74e6695881e6f1684512601ca2c2ee241aaf0a78 100644 (file)
@@ -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