diff --git a/include/net/if.h b/include/net/if.h index cdca2d38f7e..64327297209 100644 --- a/include/net/if.h +++ b/include/net/if.h @@ -209,9 +209,7 @@ struct lifconf struct ifreq { char ifr_name[IFNAMSIZ]; /* Network device name (e.g. "eth0") */ -#ifdef CONFIG_NETDEV_IFINDEX int16_t ifr_ifindex; /* Interface index */ -#endif union { struct sockaddr ifru_addr; /* IP Address */