Minor: Removed unnecessary condition.
--- a/devices/e100-2.6.20-ethercat.c Wed Jul 15 09:44:13 2009 +0000
+++ b/devices/e100-2.6.20-ethercat.c Wed Jul 15 11:55:05 2009 +0000
@@ -1637,9 +1637,7 @@
}
mii_check_link(&nic->mii);
- }
-
- if (!nic->ecdev) {
+
/* Software generated interrupt to recover from (rare) Rx
* allocation failure.
* Unfortunately have to use a spinlock to not re-enable interrupts
--- a/devices/e100-2.6.24-ethercat.c Wed Jul 15 09:44:13 2009 +0000
+++ b/devices/e100-2.6.24-ethercat.c Wed Jul 15 11:55:05 2009 +0000
@@ -1653,9 +1653,7 @@
}
mii_check_link(&nic->mii);
- }
-
- if (!nic->ecdev) {
+
/* Software generated interrupt to recover from (rare) Rx
* allocation failure.
* Unfortunately have to use a spinlock to not re-enable interrupts
--- a/devices/e100-2.6.26-ethercat.c Wed Jul 15 09:44:13 2009 +0000
+++ b/devices/e100-2.6.26-ethercat.c Wed Jul 15 11:55:05 2009 +0000
@@ -1660,9 +1660,7 @@
}
mii_check_link(&nic->mii);
- }
-
- if (!nic->ecdev) {
+
/* Software generated interrupt to recover from (rare) Rx
* allocation failure.
* Unfortunately have to use a spinlock to not re-enable interrupts
--- a/devices/e100-2.6.28-ethercat.c Wed Jul 15 09:44:13 2009 +0000
+++ b/devices/e100-2.6.28-ethercat.c Wed Jul 15 11:55:05 2009 +0000
@@ -1660,9 +1660,7 @@
}
mii_check_link(&nic->mii);
- }
-
- if (!nic->ecdev) {
+
/* Software generated interrupt to recover from (rare) Rx
* allocation failure.
* Unfortunately have to use a spinlock to not re-enable interrupts