Commit a08b32df1417146b1a4c43e641ec1177da51896c
Committed by
David S. Miller
1 parent
e4c3c13cb4
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/net/niu.c
... | ... | @@ -8906,7 +8906,7 @@ |
8906 | 8906 | static void niu_pci_unmap_page(struct device *dev, u64 dma_address, |
8907 | 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 | |
8912 | 8912 | static u64 niu_pci_map_single(struct device *dev, void *cpu_addr, |