mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-23 18:43:51 +08:00
Minor: Removed unnecessary condition.
This commit is contained in:
@@ -1637,9 +1637,7 @@ static void e100_watchdog(unsigned long data)
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
@@ -1653,9 +1653,7 @@ static void e100_watchdog(unsigned long data)
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
@@ -1660,9 +1660,7 @@ static void e100_watchdog(unsigned long data)
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
@@ -1660,9 +1660,7 @@ static void e100_watchdog(unsigned long data)
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user