drivers/android: remove redundant ret variable
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 4 Jan 2022 11:35:00 +0000 (11:35 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Feb 2022 14:40:44 +0000 (15:40 +0100)
commitb2fb28dedd39408268db38da98ef9c7d444623ab
treee4f659eca100d8272b0ffd5bea4916824397d61b
parentabaca3179b41d4b3b115f27814ee36f6fb45e897
drivers/android: remove redundant ret variable

Return value from list_lru_count() directly instead
of taking this in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
Link: https://lore.kernel.org/r/20220104113500.602158-1-chi.minghao@zte.com.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/android/binder_alloc.c