projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18e83e4
)
sfc: Remove unnecessary inclusion of <asm/io.h>, prompted by checkpatch
author
Ben Hutchings
<bhutchings@solarflare.com>
Thu, 5 Jan 2012 19:09:24 +0000
(19:09 +0000)
committer
Ben Hutchings
<bhutchings@solarflare.com>
Mon, 9 Jan 2012 17:08:15 +0000
(17:08 +0000)
Fix the warning:
WARNING: Use #include <linux/io.h> instead of <asm/io.h>
There is no need for selftest.c to include the file at all.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/ethernet/sfc/selftest.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/sfc/selftest.c
b/drivers/net/ethernet/sfc/selftest.c
index 17ff9b39995761823d92e83d68b9a2dde7bbcbc2..5226d9857f309c7c51fca374f9bae862fbe00462 100644
(file)
--- a/
drivers/net/ethernet/sfc/selftest.c
+++ b/
drivers/net/ethernet/sfc/selftest.c
@@
-19,7
+19,6
@@
#include <linux/udp.h>
#include <linux/rtnetlink.h>
#include <linux/slab.h>
-#include <asm/io.h>
#include "net_driver.h"
#include "efx.h"
#include "nic.h"