aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNishka Dasgupta <[email protected]>2019-08-02 12:12:07 +0530
committerGreg Kroah-Hartman <[email protected]>2019-08-02 14:00:56 +0200
commit14b4302ff028afc5fc09f243a21ee6cad6118c40 (patch)
tree0b611630beb0848c218cb743e0a18181f6759112 /tools/perf/scripts/python
parent0bf36e605286eaa53ec90c09a2f8eaac5d4d1cc4 (diff)
staging: rtl8712: r8712_os_recvbuf_resource_alloc(): Change return values
Change return values of r8712_os_recvbuf_resource_alloc from _SUCCESS/_FAIL to 0/-ENOMEM respectively. Modify check at call site to check for non-zero return value instead of _FAIL. Thereafter remove variable at call site that stored the return value and perform the check directly. Signed-off-by: Nishka Dasgupta <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions