| From | Daniel Baluta <> | Subject | [PATCH 08/10] iio: imu: kmx61: Remove unnecessary REG_INS1 read | Date | Tue, 23 Dec 2014 15:22:31 +0200 |
| |
Useful in the debugging phase, not needed now.
Signed-off-by: Daniel Baluta <daniel.baluta@intel.com> --- drivers/iio/imu/kmx61.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/drivers/iio/imu/kmx61.c b/drivers/iio/imu/kmx61.c index 5b5be2b..eb3900e 100644 --- a/drivers/iio/imu/kmx61.c +++ b/drivers/iio/imu/kmx61.c @@ -1196,8 +1196,6 @@ ack_intr: if (ret < 0) dev_err(&data->client->dev, "Error reading reg_inl\n"); - ret = i2c_smbus_read_byte_data(data->client, KMX61_REG_INS1); - return IRQ_HANDLED; } -- 1.9.1
|