From 6a462e1d007a6eecb18c44a2fef3ba4953a3f4b2 Mon Sep 17 00:00:00 2001 From: Sachin Kamat Date: Thu, 31 Jan 2013 09:30:00 +0900 Subject: extcon: max8997: Remove unreachable code 'break' after 'return' is never executed and hence can be deleted. Signed-off-by: Sachin Kamat Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- drivers/extcon/extcon-max8997.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/extcon') diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c index 7039541e837..d16090ddd65 100644 --- a/drivers/extcon/extcon-max8997.c +++ b/drivers/extcon/extcon-max8997.c @@ -289,7 +289,6 @@ static int max8997_muic_handle_charger_type_detach( break; default: return -EINVAL; - break; } return 0; -- cgit v1.2.3-18-g5258