commit | cd9ae9e4db8a62cfbdaec2d73f8c34eea66c48d5 | [log] [tgz] |
---|---|---|
author | sayli karnik <karniksayli1995@gmail.com> | Mon Sep 19 20:02:40 2016 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Sep 20 13:46:32 2016 +0200 |
tree | 13364e19c71319b9547913e0fc0a975b4582f890 | |
parent | 1e5a82e0ddfa6c9a2cf42ea87db3e079a4a483e6 [diff] |
staging: i4l: act2000: Move assignment out of if statement This patch places assignments which are inside the if condition, above it. Done using coccinelle: @@ statement s; expression e; identifier id; @@ - if ((id = e)) + id = e; + if (id) s Signed-off-by: sayli karnik <karniksayli1995@gmail.com> Acked-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>