diff --git a/include/net/if.h b/include/net/if.h index 1f6dd82fb3..44f467ae85 100644 --- a/include/net/if.h +++ b/include/net/if.h @@ -195,9 +195,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 */