diff options
author | 2020-07-16 11:57:37 -0600 | |
---|---|---|
committer | 2020-07-21 15:48:39 +0200 | |
commit | e82d785eba4a2b047a71d7d6c5ee671237bfe716 (patch) | |
tree | 20ca64a50168ea92c36be969c3bf9fbf0866c9e1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | coresight: Use devm_kcalloc() in coresight_alloc_conns() (diff) | |
download | wireguard-linux-e82d785eba4a2b047a71d7d6c5ee671237bfe716.tar.xz wireguard-linux-e82d785eba4a2b047a71d7d6c5ee671237bfe716.zip |
coresight: Drop double check for ACPI companion device
acpi_dev_get_resources() does perform the NULL pointer check against
ACPI companion device which is given as function parameter. Thus,
there is no need to duplicate this check in the caller.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200716175746.3338735-9-mathieu.poirier@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions