commit | 5a41b934766a00764669922f1faac1fbdcc179bd | [log] [tgz] |
---|---|---|
author | Alison Schofield <amsfield22@gmail.com> | Wed Feb 10 10:57:31 2016 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Feb 11 20:00:30 2016 -0800 |
tree | 9a117f3dfdb9ed8bde39bba3258ccdf9c17aafc4 | |
parent | b3d0ea8d8078ee0e1ffc751c17c33fc3589b9446 [diff] |
staging: speakup: compress return logic into one line Simplify function return by merging assignment and return into one command line. Remove (now) unused local variable. Found using Coccinelle: @@ expression e, ret; @@ -ret = +return e; -return ret; Signed-off-by: Alison Schofield <amsfield22@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>