diff options
author | Shreeya Patel <shreeya.patel23498@gmail.com> | 2017-12-11 03:33:00 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-13 12:48:46 +0100 |
commit | 5826e028de7f2db8d8deebf2102cd79086729200 (patch) | |
tree | 3f4ca6f25c49623a9150d8fa91179853f6cfad4f /drivers/staging/most | |
parent | 705f385849b209605dadf0450effd96947fdb6c6 (diff) | |
download | linux-stable-5826e028de7f2db8d8deebf2102cd79086729200.tar.gz linux-stable-5826e028de7f2db8d8deebf2102cd79086729200.tar.bz2 linux-stable-5826e028de7f2db8d8deebf2102cd79086729200.zip |
Staging: rtl8723bs: Merge assignment with return
Merge the assignment and return statements to return the value
directly. Done using the following semantic patch by coccinelle.
@@
local idexpression ret;
expression e;
@@
-ret =
+return
e;
-return ret;
Also, remove the variable declaration and some braces
that became useless after the merge.
Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most')
0 files changed, 0 insertions, 0 deletions