mirror of
https://github.com/opnsense/src.git
synced 2026-05-22 01:54:31 -04:00
linuxkpi: Elimiate brackets on return in spinlock.h
(cherry picked from commit c8de6e2015)
This commit is contained in:
parent
da6a8ccfa2
commit
10decb3752
1 changed files with 2 additions and 2 deletions
|
|
@ -167,10 +167,10 @@ atomic_dec_and_lock_irqsave(atomic_t *cnt, spinlock_t *lock,
|
|||
{
|
||||
spin_lock_irqsave(lock, flags);
|
||||
if (atomic_dec_and_test(cnt)) {
|
||||
return (1);
|
||||
return 1;
|
||||
}
|
||||
spin_unlock_irqrestore(lock, flags);
|
||||
return (0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* _LINUX_SPINLOCK_H_ */
|
||||
|
|
|
|||
Loading…
Reference in a new issue