diff options
author | 2025-03-25 17:39:53 -0300 | |
---|---|---|
committer | 2025-03-27 20:44:29 +0100 | |
commit | 3035a6dd2d4736738949600b8abebbdb181e86ef (patch) | |
tree | 10d1e3c4d22311c59b372dedbce24d1fa06158bc /net/lapb/lapb_timer.c | |
parent | Merge tag 'acpi-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm (diff) | |
download | wireguard-linux-3035a6dd2d4736738949600b8abebbdb181e86ef.tar.xz wireguard-linux-3035a6dd2d4736738949600b8abebbdb181e86ef.zip |
ACPI: platform_profile: Optimize _aggregate_choices()
Choices aggregates passed to _aggregate_choices() are already filled
with ones, therefore we can avoid copying a new bitmap on the first
iteration.
This makes setting the PLATFORM_PROFILE_LAST bit on aggregates
unnecessary, so drop it as well.
While at it, add a couple empty lines to improve style.
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Kurt Borja <kuurtb@gmail.com>
Link: https://patch.msgid.link/20250325-pprof-opt-v2-1-736291e6e66b@gmail.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions