dma: mv_xor: remove unused id field in mv_xor_device structure
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 30 Oct 2012 12:19:08 +0000 (13:19 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 20 Nov 2012 14:58:58 +0000 (15:58 +0100)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/dma/mv_xor.c
drivers/dma/mv_xor.h

index 49461b6..3a54213 100644 (file)
@@ -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;
index 7812565..52ca617 100644 (file)
@@ -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;