aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorNishka Dasgupta <[email protected]>2019-06-10 13:52:53 +0530
committerGreg Kroah-Hartman <[email protected]>2019-06-13 11:39:31 +0200
commit1f1e13017d64dc5b57eaff094da5148248cf080d (patch)
tree3d287f51f7e7e1080a81597d6eead45e00df0aa8 /tools/perf/scripts
parentc77a6794c0fe543df7226ab045e0f507a0b24aee (diff)
staging: rtl8712: Change return values of r8712_setdatarate_cmd()
Change the return values of function r8712_setdatarate_cmd from _SUCCESS and _FAIL to 0 and -ENOMEM respectively. Change the return type of the function from u8 to int to reflect this. Change the call site of the function to check for 0 instead of _SUCCESS. Return the value at the call site directly instead of storing it in a return variable. Remove now-unused return variable. Signed-off-by: Nishka Dasgupta <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions