diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2016-09-18 09:05:59 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-18 10:37:43 (GMT) |
commit | 56487aed9597569f5db716c86f9bc93aea1bd3b6 (patch) | |
tree | 91393fe4e352a8c156b68ad5b096dc8853bc0b77 /drivers/clk | |
parent | 25670ba3f3719e6121a2b1a3c216833d1a9e1d89 (diff) | |
download | linux-56487aed9597569f5db716c86f9bc93aea1bd3b6.tar.xz |
Staging: xgifb: Compress return logic
This patch compresses the return logic into a single statement
and removes the now unused return variable.
Done using coccinelle:
@@
type T;
identifier r;
@@
- T r;
... when !=r
- r =
+ return
...;
- return r;
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions