]> git.karo-electronics.de Git - karo-tx-linux.git/commit
i2c: omap: remove redundant status read
authorShubhrajyoti D <shubhrajyoti@ti.com>
Wed, 12 Sep 2012 10:58:12 +0000 (16:28 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Wed, 12 Sep 2012 13:03:48 +0000 (15:03 +0200)
commitd741d0c792bda4761fd3f0089e7b0d34e99acbff
tree9c9f2f2e2789b4f593753beeb8e1572324a363c6
parentb07be0f3b9e1bed6cbd29117d7f0519d114fbd82
i2c: omap: remove redundant status read

Currently omap_i2c_ack_stat doesn't use the stat variable.
After the read of the I2C_STAT_REG it is not used.
Remove the redundant read of the status register.

Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-omap.c