All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] b44: remove unused dma_desc_align_mask
@ 2010-07-08  0:55 FUJITA Tomonori
  2010-07-08  1:25 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: FUJITA Tomonori @ 2010-07-08  0:55 UTC (permalink / raw)
  To: netdev; +Cc: zambrano


Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
---
 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 3d52538..37617ab 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();
-- 
1.6.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] b44: remove unused dma_desc_align_mask
  2010-07-08  0:55 [PATCH] b44: remove unused dma_desc_align_mask FUJITA Tomonori
@ 2010-07-08  1:25 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2010-07-08  1:25 UTC (permalink / raw)
  To: fujita.tomonori; +Cc: netdev, zambrano

From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Date: Thu, 8 Jul 2010 09:55:58 +0900

> 
> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-07-08  1:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-08  0:55 [PATCH] b44: remove unused dma_desc_align_mask FUJITA Tomonori
2010-07-08  1:25 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.