summaryrefslogtreecommitdiffstats
path: root/drivers/staging/most
diff options
context:
space:
mode:
authorShreeya Patel <shreeya.patel23498@gmail.com>2017-12-11 03:33:00 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-13 12:48:46 +0100
commit5826e028de7f2db8d8deebf2102cd79086729200 (patch)
tree3f4ca6f25c49623a9150d8fa91179853f6cfad4f /drivers/staging/most
parent705f385849b209605dadf0450effd96947fdb6c6 (diff)
downloadlinux-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