aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2020-02-18 20:52:07 +0200
committerGreg Kroah-Hartman <[email protected]>2020-02-19 11:08:52 +0100
commit24f772409b2426a6545eb0d96b297b8913d70539 (patch)
tree179a9c0352b4020c2c469f2a1530406815c906a0 /tools/perf/scripts/python
parent10892847de816edf4f8f2151174dc557c4a3f63f (diff)
usb: core: Make use of acpi_evaluate_object() status
Compiler is not happy about dangling variable: .../core/usb-acpi.c: In function ‘usb_acpi_get_connect_type’: .../core/usb-acpi.c:90:14: warning: variable ‘status’ set but not used [-Wunused-but-set-variable] 90 | acpi_status status; | ^~~~~~ Make use of it by checking the status and bail out in case of error. Signed-off-by: Andy Shevchenko <[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