Tag: 038b70395a8a9b290bcd3aed292e4130a83944c7

staging: rtl8723au: core: Remove uneeded return variable

Author: Roberta Dobrescu <roberta.dobrescu@gmail.com> This patch removes uneeded return variables, using only ‘return _SUCCESS’ instead. It fixes the following warning detected by coccinelle: Unneeded variable. It was done using the following semantic patch: @@ identifier ret; type T; expression e; @@ -T ret = e; … when != ret when strict -return ret; +return e; …

Continue reading