]> git.karo-electronics.de Git - linux-beck.git/commitdiff
b44: remove unused dma_desc_align_mask
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 8 Jul 2010 01:24:29 +0000 (18:24 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Jul 2010 01:24:29 +0000 (18:24 -0700)
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/b44.c

index 3d52538df6c4b834a62b6758799e7ec0d1c93d09..37617abc164769aa5f8be38a797ea4337a3585e0 100644 (file)
@@ -135,7 +135,6 @@ static void b44_init_rings(struct b44 *);
 
 static void b44_init_hw(struct b44 *, int);
 
-static int dma_desc_align_mask;
 static int dma_desc_sync_size;
 static int instance;
 
@@ -2340,7 +2339,6 @@ static int __init b44_init(void)
        int err;
 
        /* Setup paramaters for syncing RX/TX DMA descriptors */
-       dma_desc_align_mask = ~(dma_desc_align_size - 1);
        dma_desc_sync_size = max_t(unsigned int, dma_desc_align_size, sizeof(struct dma_desc));
 
        err = b44_pci_init();