diff options
| author | Varsha Rao <[email protected]> | 2017-03-12 20:37:30 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-14 06:27:31 +0800 |
| commit | 06cb6b5434937180251d0ddb3d9a4cb2af6015da (patch) | |
| tree | a9282b3b5339060e9eae00353cc6c1894a5c77ec /tools/perf/scripts/python/bin | |
| parent | cb5de2f8aab4a3f43c0f958c332a986c4b3c44cb (diff) | |
staging: comedi: Compress return logic into one line.
Simplify function return by merging assignment and return into a single
line. The following coccinelle script is used to fix this issue.
@@
expression e;
local idexpression ret;
@@
-ret = e;
-return ret;
+return e;
Signed-off-by: Varsha Rao <[email protected]>
Acked-by: Julia Lawall <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions