summaryrefslogtreecommitdiffstats
path: root/src/usr/i2c
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2013-04-08 14:40:21 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-04-17 16:56:52 -0500
commit79f790c2b9d6a368f61a99af07d04ed9348ca504 (patch)
treead13d684f026aed530be76a2266730f9a31552f4 /src/usr/i2c
parent24677286a33ea478fd5c2db959e894dd3a5f0e85 (diff)
downloadtalos-hostboot-79f790c2b9d6a368f61a99af07d04ed9348ca504.tar.gz
talos-hostboot-79f790c2b9d6a368f61a99af07d04ed9348ca504.zip
Fixes for GCC 4.7
Change-Id: Ief0b9202e13bd70cf0de84ca3cb20f5c6df4d3d8 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/4035 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/i2c')
-rwxr-xr-xsrc/usr/i2c/i2c.C4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/usr/i2c/i2c.C b/src/usr/i2c/i2c.C
index 2a80063a7..23398fbc3 100755
--- a/src/usr/i2c/i2c.C
+++ b/src/usr/i2c/i2c.C
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2011,2012 */
+/* COPYRIGHT International Business Machines Corp. 2011,2013 */
/* */
/* p1 */
/* */
@@ -536,7 +536,6 @@ errlHndl_t i2cSetup ( TARGETING::Target * i_target,
ENTER_MRK"i2cSetup()" );
// Define the registers that we'll use
- statusreg status;
modereg mode;
cmdreg cmd;
@@ -545,7 +544,6 @@ errlHndl_t i2cSetup ( TARGETING::Target * i_target,
// TODO - Validate some of the arg values passed in
// Wait for Command complete before we start
- status.value = 0x0ull;
err = i2cWaitForCmdComp( i_target,
i_args );
OpenPOWER on IntegriCloud