net: compat: No need to define IFHWADDRLEN and IFNAMSIZ twice.
authorDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2009 04:46:52 +0000 (20:46 -0800)
committerDavid 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

index 8311d2e29632d2029284333d07ef6fcf11b8e77b..224c7a896172aaa7cbf5033096d21c29df92d185 100644 (file)
@@ -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;