[PATCH 070/111] GRSPW: fix build warnings

Daniel Hellstrom daniel at gaisler.com
Thu Feb 26 16:39:12 UTC 2015


---
 c/src/lib/libbsp/sparc/shared/spw/grspw.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/c/src/lib/libbsp/sparc/shared/spw/grspw.c b/c/src/lib/libbsp/sparc/shared/spw/grspw.c
index 4d66d13..d50e757 100644
--- a/c/src/lib/libbsp/sparc/shared/spw/grspw.c
+++ b/c/src/lib/libbsp/sparc/shared/spw/grspw.c
@@ -2004,12 +2004,9 @@ static void check_rx_errors(GRSPW_DEV *pDev, int ctrl)
 }
 
 
-void grspw_print_dev(struct drvmgr_dev *dev, int options)
+static void grspw_print_dev(struct drvmgr_dev *dev, int options)
 {
 	GRSPW_DEV *pDev = dev->priv;
-	struct amba_dev_info *devinfo;
-
-	devinfo = (struct amba_dev_info *)pDev->dev->businfo;
 
 	/* Print */
 	printf("--- GRSPW %s ---\n", pDev->devName);
-- 
1.7.0.4




More information about the devel mailing list