summaryrefslogtreecommitdiffstats
path: root/include/linux/compat.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-11-06 20:46:52 -0800
committerDavid S. Miller <davem@davemloft.net>2009-11-06 23:11:35 -0800
commitb622d97a63ad4ce890b625c62acd1bb894592e63 (patch)
tree8ac7411fab479114d7d6c35fe39e8689ef4099d3 /include/linux/compat.h
parent9177efd3991e2cb3f5643a01d3be22121cab6efc (diff)
downloadlinux-b622d97a63ad4ce890b625c62acd1bb894592e63.tar.gz
linux-b622d97a63ad4ce890b625c62acd1bb894592e63.tar.bz2
linux-b622d97a63ad4ce890b625c62acd1bb894592e63.zip
net: compat: No need to define IFHWADDRLEN and IFNAMSIZ twice.
It's defined colloqually in linux/if.h and linux/compat.h includes that. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/compat.h')
-rw-r--r--include/linux/compat.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/compat.h b/include/linux/compat.h
index 8311d2e29632..224c7a896172 100644
--- 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;