Tag: 147e45d9210ce303eb8a3a3c6593631ff78cd072

staging: rtl8723au: hal: Remove uneeded return variable

Author: Roberta Dobrescu <roberta.dobrescu@gmail.com> This patch removes uneeded return variables, just using ‘return _SUCCESS’ or ‘return HCI_STATUS_SUCCESS’ instead. This fixes the following warning detected using 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 …

Continue reading