From: Daniel Baluta Date: Tue, 23 Dec 2014 13:22:31 +0000 (+0200) Subject: iio: imu: kmx61: Remove unnecessary REG_INS1 read X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ea04d2965874ca5753e756b335449c5322a85733;p=linux-beck.git iio: imu: kmx61: Remove unnecessary REG_INS1 read Useful in the debugging phase, not needed now. Signed-off-by: Daniel Baluta Acked-by: Hartmut Knaack Signed-off-by: Jonathan Cameron --- diff --git a/drivers/iio/imu/kmx61.c b/drivers/iio/imu/kmx61.c index 578e3dd944c9..1f7c3f1f4dfd 100644 --- a/drivers/iio/imu/kmx61.c +++ b/drivers/iio/imu/kmx61.c @@ -1192,8 +1192,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; }