diff options
author | Rehas Sachdeva <aquannie@gmail.com> | 2016-09-20 01:05:54 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-20 13:59:45 +0200 |
commit | f4353ee3d3af22641beb99a146ef136f33952e80 (patch) | |
tree | d1ce8a4c24d73a98cbf26693241b8aaaf846e255 /drivers/staging/sm750fb | |
parent | staging: most: hdm-usb: convert pr_warn() to dev_warn() (diff) | |
download | linux-dev-f4353ee3d3af22641beb99a146ef136f33952e80.tar.xz linux-dev-f4353ee3d3af22641beb99a146ef136f33952e80.zip |
staging: wlan-ng: Remove unnecessary variable usage
Instead of storing the return value into a variable and then returning it, we
can club the two into a single return statement. This change was made using
the following semantic patch by Coccinelle:
@@
local idexpression ret;
expression e;
@@
-ret =
+return
e;
-return ret;
Signed-off-by: Rehas Sachdeva <aquannie@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb')
0 files changed, 0 insertions, 0 deletions