diff options
Diffstat (limited to 'drivers/net/smc91x.c')
-rw-r--r-- | drivers/net/smc91x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/smc91x.c b/drivers/net/smc91x.c index ae4983a5127d..b0c92b60c925 100644 --- a/drivers/net/smc91x.c +++ b/drivers/net/smc91x.c | |||
@@ -534,9 +534,9 @@ static inline void smc_rcv(struct net_device *dev) | |||
534 | #define smc_special_lock(lock, flags) spin_lock_irqsave(lock, flags) | 534 | #define smc_special_lock(lock, flags) spin_lock_irqsave(lock, flags) |
535 | #define smc_special_unlock(lock, flags) spin_unlock_irqrestore(lock, flags) | 535 | #define smc_special_unlock(lock, flags) spin_unlock_irqrestore(lock, flags) |
536 | #else | 536 | #else |
537 | #define smc_special_trylock(lock, flags) (1) | 537 | #define smc_special_trylock(lock, flags) (flags == flags) |
538 | #define smc_special_lock(lock, flags) do { } while (0) | 538 | #define smc_special_lock(lock, flags) do { flags = 0; } while (0) |
539 | #define smc_special_unlock(lock, flags) do { } while (0) | 539 | #define smc_special_unlock(lock, flags) do { flags = 0; } while (0) |
540 | #endif | 540 | #endif |
541 | 541 | ||
542 | /* | 542 | /* |