Minor: Removed unnecessary condition.
authorFlorian Pose <fp@igh-essen.com>
Wed, 15 Jul 2009 11:55:05 +0000
changeset 1504 e02f3344a748
parent 1503 b7881d01f98b
child 1505 da637f7e4e3a
Minor: Removed unnecessary condition.
devices/e100-2.6.20-ethercat.c
devices/e100-2.6.24-ethercat.c
devices/e100-2.6.26-ethercat.c
devices/e100-2.6.28-ethercat.c
--- 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