commit | d37843d1a956bf87e219067a0f45bc82db260216 | [log] [tgz] |
---|---|---|
author | Rehas Sachdeva <aquannie@gmail.com> | Tue Sep 20 13:18:40 2016 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Sep 20 13:32:28 2016 +0200 |
tree | e82ed0097af64c910a7b6c393302bd8ccc048d17 | |
parent | 51319662d6ac5729a1950579d70808d94e4fa8e6 [diff] |
staging: wilc1000: Merge assignment with return 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>