diff options
author | Hans de Goede <hdegoede@redhat.com> | 2020-10-19 20:56:23 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2020-10-28 12:56:51 +0100 |
commit | 6b723f4229efe8b4b86190c97226455816c821ea (patch) | |
tree | f2854d828b86bbe3d52c301fb8dc178b6d560406 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ea856ec266c1e6aecd2b107032d5b5d661f0686d (diff) |
platform/x86: acer-wmi: Drop no-op set_quirks call from find_quirks
set_quirks has a "if (!interface) return;" check at its beginning and
interface always is NULL when set_quirks is called from find_quirks,
so it is a no-op and we can drop it.
This also allows dropping the "if (!interface) return;" from set_quirks
since set_quirks now always is called with interface != NULL.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20201019185628.264473-1-hdegoede@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions