staging: ion: simplify ion_page_pool_total()
ion_page_pool_total() returns the total number of pages in the pool. Depending on the argument passed, it counts highmem pages in or not. This commit simplifies the code lines for better readability. Signed-off-by: NHeesub Shin <heesub.shin@samsung.com> Reviewed-by: NMitchel Humpherys <mitchelh@codeaurora.org> Tested-by: NJohn Stultz <john.stultz@linaro.org> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录