diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-11 00:19:51 -0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2013-09-11 16:01:40 -0400 |
commit | 17a52100b03864b5e58fb45ec6b42d4fd81c4808 (patch) | |
tree | bc4c7f48336961bc777b8b5c65a409782d98be2b /drivers/hwmon/amc6821.c | |
parent | 3499e5b2e14b792fe411302fea3b6fcc4ba40ef2 (diff) |
hwmon: (amc6821) Remove redundant break
'break' after return or goto has no effect. Remove it.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: T. Mertelj <tomaz.mertelj@guest.arnes.si>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/amc6821.c')
-rw-r--r-- | drivers/hwmon/amc6821.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/hwmon/amc6821.c b/drivers/hwmon/amc6821.c index fcb18535fd56..eea817296513 100644 --- a/drivers/hwmon/amc6821.c +++ b/drivers/hwmon/amc6821.c | |||
@@ -416,11 +416,9 @@ static ssize_t get_temp_auto_point_temp( | |||
416 | case 1: | 416 | case 1: |
417 | return sprintf(buf, "%d\n", | 417 | return sprintf(buf, "%d\n", |
418 | data->temp1_auto_point_temp[ix] * 1000); | 418 | data->temp1_auto_point_temp[ix] * 1000); |
419 | break; | ||
420 | case 2: | 419 | case 2: |
421 | return sprintf(buf, "%d\n", | 420 | return sprintf(buf, "%d\n", |
422 | data->temp2_auto_point_temp[ix] * 1000); | 421 | data->temp2_auto_point_temp[ix] * 1000); |
423 | break; | ||
424 | default: | 422 | default: |
425 | dev_dbg(dev, "Unknown attr->nr (%d).\n", nr); | 423 | dev_dbg(dev, "Unknown attr->nr (%d).\n", nr); |
426 | return -EINVAL; | 424 | return -EINVAL; |
@@ -513,7 +511,6 @@ static ssize_t set_temp_auto_point_temp( | |||
513 | count = -EIO; | 511 | count = -EIO; |
514 | } | 512 | } |
515 | goto EXIT; | 513 | goto EXIT; |
516 | break; | ||
517 | case 1: | 514 | case 1: |
518 | ptemp[1] = clamp_val(val / 1000, (ptemp[0] & 0x7C) + 4, 124); | 515 | ptemp[1] = clamp_val(val / 1000, (ptemp[0] & 0x7C) + 4, 124); |
519 | ptemp[1] &= 0x7C; | 516 | ptemp[1] &= 0x7C; |