Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;