OSDN Git Service

PCI: cpqphp: Remove set but not used variable 'physical_slot'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 26 Sep 2018 11:06:02 +0000 (11:06 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Oct 2018 21:04:40 +0000 (16:04 -0500)
commit37f1c5868e457386950e7e27212bfdcd9f77f302
tree51a1766e75497e51aab7b62533b99bc4df4e0ef2
parent479e01a402f006746324a04a72bd949ceca5e73d
PCI: cpqphp: Remove set but not used variable 'physical_slot'

Fixes gcc '-Wunused-but-set-variable' warning:

  drivers/pci/hotplug/cpqphp_core.c: In function 'init_SERR':
  drivers/pci/hotplug/cpqphp_core.c:124:5: warning: variable 'physical_slot' set but not used [-Wunused-but-set-variable]

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/cpqphp_core.c