diff options
author | Shinya Kuribayashi <shinya.kuribayashi@necel.com> | 2009-11-06 13:50:22 +0100 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-12-09 01:19:12 +0100 |
commit | 41c4e35037337cfcd297322f3f60770955156683 (patch) | |
tree | ef9c59db8e16ea635131c63aa234d4fe68978335 /drivers/net/sgiseeq.c | |
parent | i2c-designware: i2c_dw_func: Set I2C_FUNC_SMBUS_foo bits (diff) | |
download | linux-41c4e35037337cfcd297322f3f60770955156683.tar.xz linux-41c4e35037337cfcd297322f3f60770955156683.zip |
i2c-designware: i2c_dw_read: Remove redundant target address checker
I2c_dw_xfer_msg() also has the same target address inconsistency check,
and furthermore it checks across all i2c_msg messages, while
i2c_dw_read() walks through i2c_msg messages only with_ I2C_M_RD flag.
That is, target address check in i2c_dw_read() is redundant and useless.
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi@necel.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'drivers/net/sgiseeq.c')
0 files changed, 0 insertions, 0 deletions