From 7f4deffa7863e91dc8465e74809fa2155288e821 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 15 Oct 2014 18:36:41 -0500 Subject: powerpc/mvme5500/pci/pcifinddevice.c: Remove unused variable --- c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'c/src/lib/libbsp/powerpc/mvme5500') diff --git a/c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c b/c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c index ac2f050de7..493388a86b 100644 --- a/c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c +++ b/c/src/lib/libbsp/powerpc/mvme5500/pci/pcifinddevice.c @@ -1,13 +1,12 @@ -/* pcifinddevice.c - * - * Copyright 2001, Till Straumann - * +/* * find a particular PCI device * (we assume, the firmware configured the PCI bus[es] for us) - * + */ + +/* + * Copyright 2001, Till Straumann * * Kate Feng , modified it to support the mvme5500 board. - * */ #include @@ -19,10 +18,8 @@ static int BSP_pciDebug=0; int BSP_pciFindDevicePrint(unsigned short vendorid, unsigned short deviceid, int instance, int *pbus, int *pdev, int *pfun ) { - int x; - BSP_pciDebug = 1; - x=pci_find_device(vendorid, deviceid, instance, pbus, pdev, pfun ); + (void) pci_find_device(vendorid, deviceid, instance, pbus, pdev, pfun ); BSP_pciDebug = 0; return 0; -- cgit v1.2.3