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)
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

Simple merge