git: DragonFly_RELEASE_6_4 acpica: Further clean up acpi_timer.c

Aaron LI aly at crater.dragonflybsd.org
Wed Aug 27 05:22:17 PDT 2025


commit 00427378f22ec6b2f6e2315f219ffea8924a2eef
Author: Aaron LI <aly at aaronly.me>
Date:   Tue Aug 26 13:57:40 2025 +0800

    acpica: Further clean up acpi_timer.c
    
    - Simplify the if-else conditional in acpi_timer_get_timecount*()
      functions.
    - Define constants for the hardcoded 24/32-bit masks.
    - Tweak whitespaces.

Summary of changes:
 sys/dev/acpica/acpi_timer.c | 85 +++++++++++++++++++++------------------------
 1 file changed, 39 insertions(+), 46 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/00427378f22ec6b2f6e2315f219ffea8924a2eef


-- 
DragonFly BSD source repository


More information about the Commits mailing list