diff options
author | Colin Ian King <colin.king@canonical.com> | 2016-01-05 10:57:11 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-08 11:51:56 +0200 |
commit | eafd4e604f12c5d0ce70746c8aff944de8a10d81 (patch) | |
tree | 6c5b6393659349fc624c4612e7f2e174abbe4bed /mm/backing-dev.c | |
parent | dd26ec7f47749633439d0a623299a04de5e63bca (diff) |
ACPI, PCI, irq: remove redundant check for null string pointer
commit 45288978859119c019eff93f0cb838a0de100bcc upstream.
source is decleared as a 4 byte char array in struct acpi_pci_routing_table
so !prt->source is a redundant null string pointer check. Detected with
smatch:
drivers/acpi/pci_irq.c:134 do_prt_fixups() warn: this array is probably
non-NULL. 'prt->source'
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Nathan Chancellor <natechancellor@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/backing-dev.c')
0 files changed, 0 insertions, 0 deletions