Browse Source

extcon: max8997: Remove unreachable code

'break' after 'return' is never executed and hence can be deleted.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Sachin Kamat 12 years ago
parent
commit
6a462e1d00
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/extcon/extcon-max8997.c

+ 0 - 1
drivers/extcon/extcon-max8997.c

@@ -289,7 +289,6 @@ static int max8997_muic_handle_charger_type_detach(
 		break;
 	default:
 		return -EINVAL;
-		break;
 	}
 
 	return 0;