aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSomya Anand <somyaanand214@gmail.com>2015-03-09 19:18:24 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-15 18:41:10 +0100
commit1ce7948fe18230ae096cdb78211715309de9889c (patch)
tree9500857e52e7cdd04cb0904c260e31c6b43737c1 /include/linux
parentstaging: vt6655: Fixes the checkpatch.pl warning (diff)
Staging: rtl8188eu: Remove redundant local variable
This patch removes a redundant variable "val" and adds inline return statements. It also adds a default case to the switch statement which returns 0 to keep the logic intact. It also removes a redundant variable "inx" and adds inline return statements. This issue is identified by the following coccinelle script. @@ expression ret; identifier f; @@ -ret = +return f(...); -return ret; Signed-off-by: Somya Anand <somyaanand214@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions