From: Roberta Dobrescu Date: Sun, 26 Oct 2014 21:30:07 +0000 (+0200) Subject: staging: rtl8723au: hal: Remove uneeded return variable X-Git-Tag: omap-for-v3.19/fixes-rc1~73^2~920 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=147e45d9210ce303eb8a3a3c6593631ff78cd072;p=pandora-kernel.git staging: rtl8723au: hal: Remove uneeded return variable 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 ret; +return e; Signed-off-by: Roberta Dobrescu Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed