kref: Implement kref_put in terms of kref_sub
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Sat, 10 Dec 2011 10:43:43 +0000 (11:43 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 13 Dec 2011 16:41:43 +0000 (08:41 -0800)
commit47dbd7d90ad80edb67822f327241edcab8f3f46f
tree2e8880bfaf5da28b1bf2f265981e417d9afb4678
parent4af679cd7cbb0a0d8774b5cdb34bffcaa4e86e52
kref: Implement kref_put in terms of kref_sub

Less lines of code is better.

Cc: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/kref.h