summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng
diff options
context:
space:
mode:
authorRehas Sachdeva <aquannie@gmail.com>2016-09-20 13:16:37 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-09-20 13:41:51 +0200
commit106d43f18819f69784ddf216b5f05a84a03c0d38 (patch)
treecb61ca665b70006b08b6aaa0c191bffa53ef31cf /drivers/staging/wlan-ng
parentdc0283c7bc85669a52963d38553411d30a19a2f2 (diff)
downloadblackbird-op-linux-106d43f18819f69784ddf216b5f05a84a03c0d38.tar.gz
blackbird-op-linux-106d43f18819f69784ddf216b5f05a84a03c0d38.zip
staging: dgnc: Merge assignment with return
Instead of storing the return value of a function call 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/wlan-ng')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud