diff options
| author | Tina Johnson <[email protected]> | 2014-09-14 16:30:05 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-09-19 16:23:51 -0700 |
| commit | 9034720a54738bbaf96b619f34f887199ac7efed (patch) | |
| tree | 6cba6b89b744cadb7a069f71fe71ec6c8f8c666d /include/linux/debugobjects.h | |
| parent | 496a51bd64eb15f14cee3519f5b75b28d09567e3 (diff) | |
Staging: iio: meter: ade7753: Merged assignment with immediately following return statement
Saved one line of code by merging the assigning and return statements
of variable ret. And thus removed variable len which was no longer useful.
This patch was done using Coccinelle script and the following semantic
patch was used:
@@
expression ret;
identifier f;
@@
-ret =
+return
f(...);
-return ret;
Signed-off-by: Tina Johnson <[email protected]>
Acked-by: Julia Lawall <[email protected]>
Acked-by: Josh Triplett <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions