staging: zram: drop zram_stat_dec/inc functions
authorDavidlohr Bueso <davidlohr.bueso@hp.com>
Wed, 2 Jan 2013 05:24:29 +0000 (21:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2013 07:45:28 +0000 (23:45 -0800)
commitd178a07c4bd380492b6aca9e5d3985c19ca88fdb
tree331ba5a1746d1034d507810f99180ad6ea76873f
parentcad683fb9d53fa2cbcf82660e663fa1180f86797
staging: zram: drop zram_stat_dec/inc functions

It seems like an overkill to have adding and subtracting
1 functions from the 32bit counters. Just do it directly.

Signed-off-by: Davidlohr Bueso <davidlohr.bueso@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zram/zram_drv.c