]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3fd2a389a274fb7667671cc5baa394c6d912197c
tree51a1766e75497e51aab7b62533b99bc4df4e0ef2
parentfb652ad4dbd1d6efbaba76ffc18c5511671e07b3
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