From: Kim Phillips Date: Fri, 17 Aug 2007 03:52:59 +0000 (-0500) Subject: mpc83xx: suppress unused variable 'val8' warning X-Git-Tag: v1.3.0-rc1~19^2~4^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5aa4ad8d8e7e9468219990c7875d5fdc9e962f47;p=u-boot mpc83xx: suppress unused variable 'val8' warning Signed-off-by: Kim Phillips --- diff --git a/board/freescale/common/pq-mds-pib.c b/board/freescale/common/pq-mds-pib.c index 9799117a93..8c013c72fb 100644 --- a/board/freescale/common/pq-mds-pib.c +++ b/board/freescale/common/pq-mds-pib.c @@ -22,9 +22,10 @@ int pib_init(void) /* Switch temporarily to I2C bus #2 */ orig_i2c_bus = i2c_get_bus_num(); i2c_set_bus_num(1); + + val8 = 0; #if defined(CONFIG_PCI) && !defined(CONFIG_PCISLAVE) /* Assign PIB PMC slot to desired PCI bus */ - val8 = 0; i2c_write(0x23, 0x6, 1, &val8, 1); i2c_write(0x23, 0x7, 1, &val8, 1); val8 = 0xff;