zram: kill unused zram_get_num_devices()
authorJiang Liu <liuj97@gmail.com>
Thu, 6 Jun 2013 16:07:29 +0000 (00:07 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 19:12:21 +0000 (12:12 -0700)
commit0f0e3ba346c8d8d2cb409b157df79805931a1c2c
tree538e42fd103521e2186814eafdb37111ecce2d03
parent80de574dca050b734d8413a98a983fba3d06240b
zram: kill unused zram_get_num_devices()

Now there's no caller of zram_get_num_devices(), so kill it.
And change zram_devices to static because it's only used in zram_drv.c.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/zram/zram_drv.c
drivers/staging/zram/zram_drv.h