Commit 6bd9172a authored by Minghao Chi's avatar Minghao Chi Committed by Rick Yiu
Browse files

UPSTREAM: drivers/android: remove redundant ret variable



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

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarMinghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: default avatarCGEL ZTE <cgel.zte@gmail.com>
Link: https://lore.kernel.org/r/20220104113500.602158-1-chi.minghao@zte.com.cn


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 254650075
Bug: 320576997
(cherry picked from commit b2fb28de)
Change-Id: Ibe0d4a6c93a860e8ca2a3308a7073fa2eff9e785
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
Signed-off-by: default avatarRick Yiu <rickyiu@google.com>
parent 51ffacd5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment