Coding style cleanup. No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34824 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
485da29cbc
commit
8d84a92032
@ -405,7 +405,7 @@ int
|
||||
ieee80211_node_dectestref(struct ieee80211_node* ni)
|
||||
{
|
||||
// atomic_add returns old value
|
||||
return 1 == atomic_add((vint32*)&ni->ni_refcnt, -1);
|
||||
return atomic_add((vint32*)&ni->ni_refcnt, -1) == 1;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user