commit | 80de574dca050b734d8413a98a983fba3d06240b | [log] [tgz] |
---|---|---|
author | Jiang Liu <liuj97@gmail.com> | Fri Jun 07 00:07:28 2013 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Jun 06 12:12:20 2013 -0700 |
tree | da3f4242b20ef3e6a5e24995e8d1a95bd219b78f | |
parent | 5863e10b441e7ea4b492f930f1be180a97d026f3 [diff] |
zram: simplify and optimize dev_to_zram() Simplify and optimize dev_to_zram() without walking the zram_devices array. Signed-off-by: Jiang Liu <jiang.liu@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>