Message ID | 20220916161454.1413154-4-sw@simonwunderlich.de (mailing list archive) |
---|---|
State | Accepted |
Commit | 813e62a6fe7539fdf0d8e018d4f157b57bdaeedd |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [1/4] batman-adv: Start new development cycle | expand |
diff --git a/net/batman-adv/bat_v_elp.c b/net/batman-adv/bat_v_elp.c index b6db999abf75..f1741fbfb617 100644 --- a/net/batman-adv/bat_v_elp.c +++ b/net/batman-adv/bat_v_elp.c @@ -125,7 +125,6 @@ static u32 batadv_v_elp_get_throughput(struct batadv_hardif_neigh_node *neigh) /* if not a wifi interface, check if this device provides data via * ethtool (e.g. an Ethernet adapter) */ - memset(&link_settings, 0, sizeof(link_settings)); rtnl_lock(); ret = __ethtool_get_link_ksettings(hard_iface->net_dev, &link_settings); rtnl_unlock();