OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e7ce89
)
b43: remove extraneous code in free_ringmemory
author
John W. Linville
<linville@tuxdriver.com>
Mon, 25 Oct 2010 14:24:09 +0000
(10:24 -0400)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 15 Nov 2010 18:24:38 +0000
(13:24 -0500)
This code seems to have been cut-n-pasted from alloc_ringmemory?
Anyway, it is useless.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/dma.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/b43/dma.c
b/drivers/net/wireless/b43/dma.c
index
10d0aaf
..
3d5566e
100644
(file)
--- a/
drivers/net/wireless/b43/dma.c
+++ b/
drivers/net/wireless/b43/dma.c
@@
-415,11
+415,6
@@
static int alloc_ringmemory(struct b43_dmaring *ring)
static void free_ringmemory(struct b43_dmaring *ring)
{
- gfp_t flags = GFP_KERNEL;
-
- if (ring->type == B43_DMA_64BIT)
- flags |= GFP_DMA;
-
dma_free_coherent(ring->dev->dev->dma_dev, B43_DMA_RINGMEMSIZE,
ring->descbase, ring->dmabase);
}