PCI: hisi: Remove unused variable driver
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 21 Jul 2017 01:26:06 +0000 (09:26 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 3 Aug 2017 21:58:08 +0000 (16:58 -0500)
commitb379d385bbaa88971587e309b9428315ebcfee46
treec7063fb8eb0b3f52ec35e59b477c0e7d3cf5f27e
parent16f73eb02d7e1765ccab3d2018e0bd98eb93d973
PCI: hisi: Remove unused variable driver

The local "driver" variable was unused and caused a warning, so remove it:

  drivers/pci/dwc/pcie-hisi.c: In function 'hisi_pcie_probe':
  drivers/pci/dwc/pcie-hisi.c:271:24: warning: variable 'driver' set but not used [-Wunused-but-set-variable]

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Zhou Wang <wangzhou1@hisilicon.com>
Acked-by: Gabriele Paoloni <gabriele.paoloni@huawei.com>
drivers/pci/dwc/pcie-hisi.c