aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorTobin C. Harding <[email protected]>2017-03-13 12:37:32 +1100
committerGreg Kroah-Hartman <[email protected]>2017-03-14 06:27:31 +0800
commit93cf5f43421513ee6c07da68903221003a490f11 (patch)
tree66eee3e62a4c00def4297906b3c79684d4465976 /tools/perf/scripts/python/bin
parentcb52fce16027d79a97d0870a1110d4a4493fa0a8 (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