Commit b622d97a authored by David S. Miller's avatar David S. Miller

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: default avatarDavid S. Miller <davem@davemloft.net>
parent 9177efd3
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment