diff options
| author | Bhanusree Pola <[email protected]> | 2019-03-17 16:31:33 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-03-18 07:47:53 +0100 |
| commit | 982c34e0c2a5801459af2bd5aa5b63825793b0e3 (patch) | |
| tree | 8667bb71090a8ad278249a0f176060d0795b9b82 /tools/perf/scripts/python/bin | |
| parent | b1c30bd6b74a620b853703771a1aa59641522cef (diff) | |
staging: mt7621-mmc: Fix ret.cooci warnings
Return the value directly instead of storing it in local variable err.
Remove the unused local variable err.
The semantic patch that fixes the first part of the problem is as follows
// <smpl>
@@
local idexpression ret;
expression e;
@@
-ret =
+return
e;
-return ret;
// </smpl>
Signed-off-by: Bhanusree Pola <[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