diff mbox

[3/3] remove the unused end in pnv_pci_vf_resource_shift()

Message ID 1423118065-6250-4-git-send-email-weiyang@linux.vnet.ibm.com (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Wei Yang Feb. 5, 2015, 6:34 a.m. UTC
Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
---
 arch/powerpc/platforms/powernv/pci-ioda.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/arch/powerpc/platforms/powernv/pci-ioda.c b/arch/powerpc/platforms/powernv/pci-ioda.c
index 1776b36..f1fc7cf 100644
--- a/arch/powerpc/platforms/powernv/pci-ioda.c
+++ b/arch/powerpc/platforms/powernv/pci-ioda.c
@@ -854,7 +854,7 @@  static int pnv_pci_vf_resource_shift(struct pci_dev *dev, int offset)
 	struct pci_dn *pdn = pci_get_pdn(dev);
 	int i;
 	struct resource *res, res2;
-	resource_size_t size, end;
+	resource_size_t size;
 	u16 vf_num;
 
 	if (!dev->is_physfn)