projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9177efd
)
net: compat: No need to define IFHWADDRLEN and IFNAMSIZ twice.
author
David S. Miller
<davem@davemloft.net>
Sat, 7 Nov 2009 04:46:52 +0000
(20:46 -0800)
committer
David S. Miller
<davem@davemloft.net>
Sat, 7 Nov 2009 07:11:35 +0000
(23:11 -0800)
It's defined colloqually in linux/if.h and linux/compat.h
includes that.
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/compat.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/compat.h
b/include/linux/compat.h
index 8311d2e29632d2029284333d07ef6fcf11b8e77b..224c7a896172aaa7cbf5033096d21c29df92d185 100644
(file)
--- a/
include/linux/compat.h
+++ b/
include/linux/compat.h
@@
-166,8
+166,6
@@
struct compat_ifmap {
};
struct compat_ifreq {
-#define IFHWADDRLEN 6
-#define IFNAMSIZ 16
union {
char ifrn_name[IFNAMSIZ]; /* if name, e.g. "en0" */
} ifr_ifrn;