From: Thomas Petazzoni Date: Tue, 30 Oct 2012 12:19:08 +0000 (+0100) Subject: dma: mv_xor: remove unused id field in mv_xor_device structure X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8b5c3f6c8d8300e7825bb5ed6effe0bd35907751;p=linux-beck.git dma: mv_xor: remove unused id field in mv_xor_device structure Signed-off-by: Thomas Petazzoni --- diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index 49461b6e6eb4..3a54213c1b5f 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c @@ -1125,8 +1125,6 @@ mv_xor_channel_add(struct mv_xor_private *msp, if (!adev->dma_desc_pool_virt) return ERR_PTR(-ENOMEM); - adev->id = hw_id; - /* discover transaction capabilites from the platform data */ dma_dev->cap_mask = cap_mask; adev->pdev = pdev; diff --git a/drivers/dma/mv_xor.h b/drivers/dma/mv_xor.h index 7812565b3505..52ca6172bc6b 100644 --- a/drivers/dma/mv_xor.h +++ b/drivers/dma/mv_xor.h @@ -71,7 +71,6 @@ struct mv_xor_private { */ struct mv_xor_device { struct platform_device *pdev; - int id; dma_addr_t dma_desc_pool; void *dma_desc_pool_virt; size_t pool_size;