]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/parisc/led.c
[SCSI] remove the dead CYBERSTORMIII_SCSI option
[linux-2.6-omap-h63xx.git] / drivers / parisc / led.c
index 3df82fe9ce8cbf7acb80d7581709f6cdcbcb33f5..98be2880757d90fe48a5e2947bada642568f3261 100644 (file)
@@ -365,7 +365,7 @@ static __inline__ int led_get_net_activity(void)
         * for reading should be OK */
        read_lock(&dev_base_lock);
        rcu_read_lock();
-       for (dev = dev_base; dev; dev = dev->next) {
+       for_each_netdev(dev) {
            struct net_device_stats *stats;
            struct in_device *in_dev = __in_dev_get_rcu(dev);
            if (!in_dev || !in_dev->ifa_list)