git: kernel/acpi: Remove redundant NULL check.

Sascha Wildner swildner at crater.dragonflybsd.org
Fri Jan 29 02:06:13 PST 2021


commit 55b377ea8d04e5f35803bf048a36416f300df906
Author: Sascha Wildner <saw at online.de>
Date:   Fri Jan 29 10:56:55 2021 +0100

    kernel/acpi: Remove redundant NULL check.
    
    AcpiGetObjectInfo() returned AE_OK and adinfo has already been
    dereferenced at this point.

Summary of changes:
 sys/dev/acpica/acpi.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/55b377ea8d04e5f35803bf048a36416f300df906


-- 
DragonFly BSD source repository


More information about the Commits mailing list