Changeset 9cb874d in rtems


Ignore:
Timestamp:
Jul 28, 2017, 4:27:54 PM (2 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
dd6992fd
Parents:
bed7ec1
git-author:
Joel Sherrill <joel@…> (07/28/17 16:27:54)
git-committer:
Joel Sherrill <joel@…> (07/28/17 19:17:32)
Message:

beagle/i2c/bbb-i2c.c: Eliminiate set but not used warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/beagle/i2c/bbb-i2c.c

    rbed7ec1 r9cb874d  
    239239  REG( &regs->BBB_I2C_CNT ) = bus->current_msg_todo;
    240240  no_bytes = REG( &regs->BBB_I2C_CNT );
     241  (void) no_bytes; /* indicate we know that no_bytes is not referenced again */
    241242  REG( &regs->BBB_I2C_SA ) = msgs->addr;
    242243  REG( &regs->BBB_I2C_CON ) = AM335X_I2C_CFG_MST_TX | AM335X_I2C_CON_I2C_EN;
Note: See TracChangeset for help on using the changeset viewer.