]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/mac80211/iface.c
average: change to declare precision, not factor
[karo-tx-linux.git] / net / mac80211 / iface.c
index d37ae7dc114b2c2eb5b8dc4773c6a688b047e0a2..40813dd3301c600978374e259953ca5d661022ce 100644 (file)
@@ -1123,7 +1123,7 @@ static u16 ieee80211_netdev_select_queue(struct net_device *dev,
        return ieee80211_select_queue(IEEE80211_DEV_TO_SUB_IF(dev), skb);
 }
 
-static struct rtnl_link_stats64 *
+static void
 ieee80211_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats)
 {
        int i;
@@ -1148,8 +1148,6 @@ ieee80211_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *stats)
                stats->rx_bytes   += rx_bytes;
                stats->tx_bytes   += tx_bytes;
        }
-
-       return stats;
 }
 
 static const struct net_device_ops ieee80211_dataif_ops = {