From: FUJITA Tomonori Date: Thu, 8 Jul 2010 01:24:29 +0000 (-0700) Subject: b44: remove unused dma_desc_align_mask X-Git-Tag: MMI-PSA29.97-13-9~23092^2~314 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3e9e0b8364dfb741a06ea40d8fad7f954a291339;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git b44: remove unused dma_desc_align_mask Signed-off-by: FUJITA Tomonori Signed-off-by: David S. Miller --- diff --git a/drivers/net/b44.c b/drivers/net/b44.c index 3d52538df6c4..37617abc1647 100644 --- a/drivers/net/b44.c +++ b/drivers/net/b44.c @@ -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();