Skip to content

Commit

Permalink
b44: remove unused dma_desc_align_mask
Browse files Browse the repository at this point in the history
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
FUJITA Tomonori authored and David S. Miller committed Jul 8, 2010
1 parent 5cf3e03 commit 3e9e0b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/b44.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 3e9e0b8

Please sign in to comment.