diff options
| author | Tobin C. Harding <[email protected]> | 2017-03-13 12:37:32 +1100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-03-14 06:27:31 +0800 |
| commit | 93cf5f43421513ee6c07da68903221003a490f11 (patch) | |
| tree | 66eee3e62a4c00def4297906b3c79684d4465976 /tools/perf/scripts/python/bin | |
| parent | cb52fce16027d79a97d0870a1110d4a4493fa0a8 (diff) | |
staging: dgnc: return error code directly
In various functions a return code variable is defined at the top of
function, for example;
rc = -ENODEV;
and then the variable is returned. This makes it harder to read since
it separates the error code from the return site.
Return the error code directly instead of using a variable.
Signed-off-by: Tobin C. Harding <[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