include/linux/cleancache.h: Clean up code
authorChen Gang <gang.chen.5i5j@gmail.com>
Wed, 6 Jan 2016 21:06:13 +0000 (05:06 +0800)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 27 Jan 2016 14:10:29 +0000 (09:10 -0500)
commita39bb9a0557a3fc860c3c9d67a7326b0d2f1bd66
tree08dd556bc95da6992a23cfde6b26fe82d97b269f
parentb3c6de492b9ea30a8dcc535d4dc2eaaf0bb3f116
include/linux/cleancache.h: Clean up code

Let cleancache_fs_enabled() call cleancache_fs_enabled_mapping()
directly.

Remove redundant variable ret in cleancache_get_page().

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
include/linux/cleancache.h