diff options
| author | Kurt Borja <[email protected]> | 2025-03-25 20:39:53 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2025-03-27 19:44:29 +0000 |
| commit | 3035a6dd2d4736738949600b8abebbdb181e86ef (patch) | |
| tree | 10d1e3c4d22311c59b372dedbce24d1fa06158bc /net/unix/af_unix.c | |
| parent | Merge tag 'acpi-6.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ra... (diff) | |
| download | kernel-3035a6dd2d4736738949600b8abebbdb181e86ef.tar.gz kernel-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 <[email protected]>
Reviewed-by: Mario Limonciello <[email protected]>
Signed-off-by: Kurt Borja <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
