]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
extcon-max8997: remove usage of ret in max8997_muic_handle_charger_type_detach
authorDevendra Naga <develkernel412222@gmail.com>
Fri, 31 Aug 2012 08:30:19 +0000 (14:00 +0530)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 22 Oct 2012 02:28:10 +0000 (11:28 +0900)
commit3cafbd4e5005dbef78b32f2e0fe3ab00a955c6c1
tree2a60407f22f28bd90b88867611d21ea9a7bbdbb5
parent8dee001d98813c4cfa0be92ae3da7cabdc954c63
extcon-max8997: remove usage of ret in max8997_muic_handle_charger_type_detach

actually we can do returns with error or success with out ret in this function,
so remove the ret variable, and reduce a very little (4byte) space on stack of this function

Signed-off-by: Devendra Naga <develkernel412222@gmail.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
drivers/extcon/extcon-max8997.c