diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-10-30 08:19:08 -0400 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-11-20 09:58:58 -0500 |
commit | 8b5c3f6c8d8300e7825bb5ed6effe0bd35907751 (patch) | |
tree | b752fe3c874d04d885e77ff7f78fc529168b21d7 /drivers/dma | |
parent | 61971656ce72ae40939abd4b23c61976270d2374 (diff) |
dma: mv_xor: remove unused id field in mv_xor_device structure
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/mv_xor.c | 2 | ||||
-rw-r--r-- | drivers/dma/mv_xor.h | 1 |
2 files changed, 0 insertions, 3 deletions
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, | |||
1125 | if (!adev->dma_desc_pool_virt) | 1125 | if (!adev->dma_desc_pool_virt) |
1126 | return ERR_PTR(-ENOMEM); | 1126 | return ERR_PTR(-ENOMEM); |
1127 | 1127 | ||
1128 | adev->id = hw_id; | ||
1129 | |||
1130 | /* discover transaction capabilites from the platform data */ | 1128 | /* discover transaction capabilites from the platform data */ |
1131 | dma_dev->cap_mask = cap_mask; | 1129 | dma_dev->cap_mask = cap_mask; |
1132 | adev->pdev = pdev; | 1130 | 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 { | |||
71 | */ | 71 | */ |
72 | struct mv_xor_device { | 72 | struct mv_xor_device { |
73 | struct platform_device *pdev; | 73 | struct platform_device *pdev; |
74 | int id; | ||
75 | dma_addr_t dma_desc_pool; | 74 | dma_addr_t dma_desc_pool; |
76 | void *dma_desc_pool_virt; | 75 | void *dma_desc_pool_virt; |
77 | size_t pool_size; | 76 | size_t pool_size; |