diff options
author | Andrey Strachuk <strochuk@ispras.ru> | 2022-07-21 17:11:33 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-07-27 22:21:27 +0300 |
commit | 2c65e312bc6bb6e175c16a17db8ec86d2dcd1608 (patch) | |
tree | 3bed30da82609a26db35dd5d4356350324ff71f0 /arch/loongarch/include/asm/barrier.h | |
parent | e0dccc3b76fb35bb257b4118367a883073d7390e (diff) | |
download | linux-2c65e312bc6bb6e175c16a17db8ec86d2dcd1608.tar.xz |
ACPI/PCI: Remove useless NULL pointer checks
Local variable 'p' is initialized by an address of field of acpi_resource,
so it does not make sense to compare 'p' with NULL.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Andrey Strachuk <strochuk@ispras.ru>
Reviewed-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/loongarch/include/asm/barrier.h')
0 files changed, 0 insertions, 0 deletions