diff options
author | Hans de Goede <hdegoede@redhat.com> | 2022-12-14 22:24:47 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2023-01-06 04:22:34 +0100 |
commit | bd4edba2653aeef0119b7a945f07e58711343bf9 (patch) | |
tree | b3d76bb31942e9a80311dd8c93e0c5a2d92fe190 /scripts/gdb/linux/mm.py | |
parent | 41c03ba9beea760bd2d2ac9250b09a2e192da2dc (diff) |
x86/rtc: Simplify PNP ids check
compare_pnp_id() already iterates over the single linked pnp_ids list
starting with the id past to it.
So there is no need for add_rtc_cmos() to call compare_pnp_id()
for each id on the list.
No change in functionality intended.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions