diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2010-07-07 21:24:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-07-07 21:24:29 -0400 |
commit | 3e9e0b8364dfb741a06ea40d8fad7f954a291339 (patch) | |
tree | 523211563dc1c29163e2153ddb972808128f700b /drivers | |
parent | 5cf3e03457aa905f17f9765702850316b69aad1e (diff) |
b44: remove unused dma_desc_align_mask
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/b44.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 *); | |||
135 | 135 | ||
136 | static void b44_init_hw(struct b44 *, int); | 136 | static void b44_init_hw(struct b44 *, int); |
137 | 137 | ||
138 | static int dma_desc_align_mask; | ||
139 | static int dma_desc_sync_size; | 138 | static int dma_desc_sync_size; |
140 | static int instance; | 139 | static int instance; |
141 | 140 | ||
@@ -2340,7 +2339,6 @@ static int __init b44_init(void) | |||
2340 | int err; | 2339 | int err; |
2341 | 2340 | ||
2342 | /* Setup paramaters for syncing RX/TX DMA descriptors */ | 2341 | /* Setup paramaters for syncing RX/TX DMA descriptors */ |
2343 | dma_desc_align_mask = ~(dma_desc_align_size - 1); | ||
2344 | dma_desc_sync_size = max_t(unsigned int, dma_desc_align_size, sizeof(struct dma_desc)); | 2342 | dma_desc_sync_size = max_t(unsigned int, dma_desc_align_size, sizeof(struct dma_desc)); |
2345 | 2343 | ||
2346 | err = b44_pci_init(); | 2344 | err = b44_pci_init(); |