diff options
author | Andrey Strachuk <[email protected]> | 2022-07-21 17:11:33 +0300 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2022-07-27 21:21:27 +0200 |
commit | 2c65e312bc6bb6e175c16a17db8ec86d2dcd1608 (patch) | |
tree | 3bed30da82609a26db35dd5d4356350324ff71f0 /drivers/usb/cdns3/cdns3-trace.c | |
parent | e0dccc3b76fb35bb257b4118367a883073d7390e (diff) |
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 <[email protected]>
Reviewed-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions