diff options
author | Shraddha Barke <shraddha.6596@gmail.com> | 2015-09-05 00:50:28 +0530 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2015-09-11 10:21:38 +0300 |
commit | 74c373e42f3dccae3b3b1e91a82ab8f748a39a6f (patch) | |
tree | a35957c1d4bf3089ec40d0750d33f83190150a41 /target-sh4 | |
parent | 70cbae1dd85c9b4bb7c42bb282baacaaed0dd9bd (diff) |
Target-ppc: Remove unnecessary variable
Compress lines and remove the variable ret.
Change made using Coccinelle script
@@
expression ret;
@@
- if (ret) return ret;
- return 0;
+ return ret;
@@
local idexpression ret;
expression e;
@@
- ret = e;
- return ret;
+ return e;
@@
type T; identifier i;
@@
- T i;
... when != i
Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'target-sh4')
0 files changed, 0 insertions, 0 deletions