[PATCH 1/2] regulator: wm8994: Remove redundant break
From: Sachin Kamat
Date: Fri Oct 04 2013 - 05:48:53 EST
'break' after return has no effect. Remove it.
Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
---
drivers/regulator/wm8994-regulator.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/regulator/wm8994-regulator.c b/drivers/regulator/wm8994-regulator.c
index 71c5911..ffc1b2f 100644
--- a/drivers/regulator/wm8994-regulator.c
+++ b/drivers/regulator/wm8994-regulator.c
@@ -63,7 +63,6 @@ static int wm8994_ldo2_list_voltage(struct regulator_dev *rdev,
default:
return (selector * 100000) + 950000;
}
- break;
default:
return -EINVAL;
}
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/