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:
Colin Günther 2009-12-30 09:04:01 +00:00
parent 485da29cbc
commit 8d84a92032

View File

@ -405,7 +405,7 @@ int
ieee80211_node_dectestref(struct ieee80211_node* ni) ieee80211_node_dectestref(struct ieee80211_node* ni)
{ {
// atomic_add returns old value // atomic_add returns old value
return 1 == atomic_add((vint32*)&ni->ni_refcnt, -1); return atomic_add((vint32*)&ni->ni_refcnt, -1) == 1;
} }