projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
686a7e3
)
net: Kill ether_table[] declaration.
author
David S. Miller
<davem@davemloft.net>
Thu, 26 May 2011 20:30:57 +0000
(16:30 -0400)
committer
David S. Miller
<davem@davemloft.net>
Fri, 27 May 2011 17:40:54 +0000
(13:40 -0400)
This got missed back in 2006 when Jes Sorensen deleted
net/ethernet/sysctl_net_ether.c
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_ether.h
patch
|
blob
|
history
diff --git
a/include/linux/if_ether.h
b/include/linux/if_ether.h
index
0f1325d
..
0065ffd
100644
(file)
--- a/
include/linux/if_ether.h
+++ b/
include/linux/if_ether.h
@@
-132,10
+132,6
@@
static inline struct ethhdr *eth_hdr(const struct sk_buff *skb)
int eth_header_parse(const struct sk_buff *skb, unsigned char *haddr);
-#ifdef CONFIG_SYSCTL
-extern struct ctl_table ether_table[];
-#endif
-
int mac_pton(const char *s, u8 *mac);
extern ssize_t sysfs_format_mac(char *buf, const unsigned char *addr, int len);