aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/niu.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-12-26 02:56:04 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-26 02:56:04 -0500
commita08b32df1417146b1a4c43e641ec1177da51896c (patch)
tree9b76e1ba3064efe8349d94a7181d75708ae40112 /drivers/net/niu.c
parente4c3c13cb4c4985cb62cf28677fc0ace69a8d69f (diff)
drivers/net: fix sparse warning: returning void-valued expression
Fix this sparse warning: drivers/net/niu.c:8850:2: warning: returning void-valued expression Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/niu.c')
-rw-r--r--drivers/net/niu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/niu.c b/drivers/net/niu.c
index 5698c155bbf3..0c0b752315ca 100644
--- a/drivers/net/niu.c
+++ b/drivers/net/niu.c
@@ -8906,7 +8906,7 @@ static u64 niu_pci_map_page(struct device *dev, struct page *page,
8906static void niu_pci_unmap_page(struct device *dev, u64 dma_address, 8906static void niu_pci_unmap_page(struct device *dev, u64 dma_address,
8907 size_t size, enum dma_data_direction direction) 8907 size_t size, enum dma_data_direction direction)
8908{ 8908{
8909 return dma_unmap_page(dev, dma_address, size, direction); 8909 dma_unmap_page(dev, dma_address, size, direction);
8910} 8910}
8911 8911
8912static u64 niu_pci_map_single(struct device *dev, void *cpu_addr, 8912static u64 niu_pci_map_single(struct device *dev, void *cpu_addr,