Tag: dd28473385e78f94456fc66bd05c9d6db3febe13

staging: android: ion: hisilicon: Remove useless return variables

Author: Bhaktipriya Shridhar <bhaktipriya96@gmail.com> This patch removes unnecessary return variables and compresses the return logic. The coccinelle script that finds and fixes this issue is: @@ type T; identifier i,f; constant C; @@ – T i; …when != i when strict ( return -C; | – i = + return f(…); – return i; ) …

Continue reading