提交 b622d97a 编写于 作者: D 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: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册