From: David S. Miller Date: Sat, 7 Nov 2009 04:46:52 +0000 (-0800) Subject: net: compat: No need to define IFHWADDRLEN and IFNAMSIZ twice. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b622d97a63ad4ce890b625c62acd1bb894592e63;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- 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;