diff mbox series

dmaengine: ioat: remove unused declarations in dma.h

Message ID 20220911091817.3214271-1-cuigaosheng1@huawei.com (mailing list archive)
State Accepted
Commit b957df98469240d459bcfae6904b36d6ecea9bee
Headers show
Series dmaengine: ioat: remove unused declarations in dma.h | expand

Commit Message

cuigaosheng Sept. 11, 2022, 9:18 a.m. UTC
ioat_ring_alloc_order and ioat_ring_max_alloc_order have
been removed since commit cd60cd96137f ("dmaengine: IOATDMA:
Removing descriptor ring reshape"), so remove them.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
---
 drivers/dma/ioat/dma.h | 2 --
 1 file changed, 2 deletions(-)

Comments

Dave Jiang Sept. 12, 2022, 3:26 p.m. UTC | #1
On 9/11/2022 2:18 AM, Gaosheng Cui wrote:
> ioat_ring_alloc_order and ioat_ring_max_alloc_order have
> been removed since commit cd60cd96137f ("dmaengine: IOATDMA:
> Removing descriptor ring reshape"), so remove them.
>
> Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>

Acked-by: Dave Jiang <dave.jiang@intel.com>

Thanks.

> ---
>   drivers/dma/ioat/dma.h | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/drivers/dma/ioat/dma.h b/drivers/dma/ioat/dma.h
> index 140cfe3782fb..35e06b382603 100644
> --- a/drivers/dma/ioat/dma.h
> +++ b/drivers/dma/ioat/dma.h
> @@ -196,10 +196,8 @@ extern const struct sysfs_ops ioat_sysfs_ops;
>   extern struct ioat_sysfs_entry ioat_version_attr;
>   extern struct ioat_sysfs_entry ioat_cap_attr;
>   extern int ioat_pending_level;
> -extern int ioat_ring_alloc_order;
>   extern struct kobj_type ioat_ktype;
>   extern struct kmem_cache *ioat_cache;
> -extern int ioat_ring_max_alloc_order;
>   extern struct kmem_cache *ioat_sed_cache;
>   
>   static inline struct ioatdma_chan *to_ioat_chan(struct dma_chan *c)
Vinod Koul Sept. 29, 2022, 5:07 p.m. UTC | #2
On 11-09-22, 17:18, Gaosheng Cui wrote:
> ioat_ring_alloc_order and ioat_ring_max_alloc_order have
> been removed since commit cd60cd96137f ("dmaengine: IOATDMA:
> Removing descriptor ring reshape"), so remove them.

Applied, thanks
diff mbox series

Patch

diff --git a/drivers/dma/ioat/dma.h b/drivers/dma/ioat/dma.h
index 140cfe3782fb..35e06b382603 100644
--- a/drivers/dma/ioat/dma.h
+++ b/drivers/dma/ioat/dma.h
@@ -196,10 +196,8 @@  extern const struct sysfs_ops ioat_sysfs_ops;
 extern struct ioat_sysfs_entry ioat_version_attr;
 extern struct ioat_sysfs_entry ioat_cap_attr;
 extern int ioat_pending_level;
-extern int ioat_ring_alloc_order;
 extern struct kobj_type ioat_ktype;
 extern struct kmem_cache *ioat_cache;
-extern int ioat_ring_max_alloc_order;
 extern struct kmem_cache *ioat_sed_cache;
 
 static inline struct ioatdma_chan *to_ioat_chan(struct dma_chan *c)