ACPI, PCI, irq: remove redundant check for null string pointer
authorColin Ian King <colin.king@canonical.com>
Tue, 5 Jan 2016 10:57:11 +0000 (10:57 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 5 Jan 2016 12:40:05 +0000 (13:40 +0100)
commit45288978859119c019eff93f0cb838a0de100bcc
treea9aa4d1270af3cc3b9695401016a5a9f8feede70
parent0971686954f9cdde502c7bce4794c5ad53ea2e66
ACPI, PCI, irq: remove redundant check for null string pointer

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>
drivers/acpi/pci_irq.c