Skip to content

Commit

Permalink
net: compat: No need to define IFHWADDRLEN and IFNAMSIZ twice.
Browse files Browse the repository at this point in the history
It's defined colloqually in linux/if.h and linux/compat.h
includes that.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Nov 7, 2009
1 parent 9177efd commit b622d97
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/linux/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b622d97

Please sign in to comment.