aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-01-21 13:07:50 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-01-29 11:01:30 +0100
commitfdb3c177657033bfeff5652891bb67ff6e86b557 (patch)
tree3567e7a30afd5295d638fd858e2eee0b1589f7b7 /tools/perf/scripts/python
parentf17b5f06cb92ef2250513a1e154c47b78df07d40 (diff)
ACPI: EC: Clean up probing for early EC
Both acpi_ec_dsdt_probe() and acpi_ec_ecdt_probe() may be void as their return values are ignored anyway. This allows a couple of gotos and labels to go away from there. Moreover, acpi_ec_ecdt_probe() only needs to allocate the ec object after getting the ECDT pointer and checking it, so the pointless memory allocation and release on systems without the ECDT can be avoided by reordering it. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions