asm-generic/atomic.h: simplify inc/dec test helpers
authorMike Frysinger <vapier@gentoo.org>
Tue, 26 Jul 2011 23:09:09 +0000 (16:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 23:49:47 +0000 (16:49 -0700)
commit3eea44ea753923c6af90be808426ecddc482de61
tree6396fde749790461d6e355a0bf4d3ec88b56831b
parentacac43e2fc4b14ecf1ff229eaa8d1e011d063749
asm-generic/atomic.h: simplify inc/dec test helpers

We already declared inc/dec helpers, so we don't need to call the
atomic_{add,sub}_return funcs directly.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Arun Sharma <asharma@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-generic/atomic.h