Skip to content

Commit

Permalink
dma: mv_xor: remove unused id field in mv_xor_device structure
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  • Loading branch information
Thomas Petazzoni committed Nov 20, 2012
1 parent 6197165 commit 8b5c3f6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions drivers/dma/mv_xor.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion drivers/dma/mv_xor.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8b5c3f6

Please sign in to comment.