net: use netdev_mc_count and netdev_mc_empty when appropriate
[deliverable/linux.git] / drivers / net / gianfar.c
index 8bd3c9f17532529e6f3c445024f9e5e4c8d6ac96..c9be090485dd3fc5835c86402591bcb0ee687ebd 100644 (file)
@@ -2863,7 +2863,7 @@ static void gfar_set_multi(struct net_device *dev)
                        em_num = 0;
                }
 
-               if (dev->mc_count == 0)
+               if (netdev_mc_empty(dev))
                        return;
 
                /* Parse the list, and set the appropriate bits */
This page took 0.025263 seconds and 5 git commands to generate.