aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/iio/industrialio-core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c
index 0994239361ba..7bb570b7a4af 100644
--- a/drivers/iio/industrialio-core.c
+++ b/drivers/iio/industrialio-core.c
@@ -445,8 +445,6 @@ static ssize_t iio_write_channel_info(struct device *dev,
445 integer = integer*10 + *buf - '0'; 445 integer = integer*10 + *buf - '0';
446 else { 446 else {
447 fract += fract_mult*(*buf - '0'); 447 fract += fract_mult*(*buf - '0');
448 if (fract_mult == 1)
449 break;
450 fract_mult /= 10; 448 fract_mult /= 10;
451 } 449 }
452 } else if (*buf == '\n') { 450 } else if (*buf == '\n') {