From: Sachin Kamat Date: Thu, 31 Jan 2013 00:30:00 +0000 (+0900) Subject: extcon: max8997: Remove unreachable code X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6a462e1d007a6eecb18c44a2fef3ba4953a3f4b2;p=linux-beck.git 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 --- diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c index 7039541e837f..d16090ddd65a 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;