Bjørn Mork <bj...@mork.no> writes:

> @@ -2184,11 +2197,13 @@ static int mtk_free_dev(struct mtk_eth *
>  
>  static int mtk_unreg_dev(struct mtk_eth *eth)
>  {
> +     struct mtk_mac *mac;
>       int i;
>  
>       for (i = 0; i < MTK_MAC_COUNT; i++) {
>               if (!eth->netdev[i])
>                       continue;
> +             mac = netdev_priv(eth->netdev[i]);
>               unregister_netdev(eth->netdev[i]);
>       }
>  

Please ignore this unrelated hunk.  It was left over from some
experimental changes.  Sorry about that.


Bjørn

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to