mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 19:56:18 +00:00
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>
This commit is contained in:
parent
9177efd399
commit
b622d97a63
1 changed files with 0 additions and 2 deletions
|
@ -166,8 +166,6 @@ struct compat_ifmap {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct compat_ifreq {
|
struct compat_ifreq {
|
||||||
#define IFHWADDRLEN 6
|
|
||||||
#define IFNAMSIZ 16
|
|
||||||
union {
|
union {
|
||||||
char ifrn_name[IFNAMSIZ]; /* if name, e.g. "en0" */
|
char ifrn_name[IFNAMSIZ]; /* if name, e.g. "en0" */
|
||||||
} ifr_ifrn;
|
} ifr_ifrn;
|
||||||
|
|
Loading…
Reference in a new issue