From: Shinya Kuribayashi Date: Fri, 6 Nov 2009 12:50:22 +0000 (+0900) Subject: i2c-designware: i2c_dw_read: Remove redundant target address checker X-Git-Tag: v2.6.33-rc1~339^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=41c4e35037337cfcd297322f3f60770955156683;p=pandora-kernel.git 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 Signed-off-by: Ben Dooks --- Reading git-diff-tree failed