commit | 9d9f5a2dac916013d9b0560e176a7619f7bf958d | [log] [tgz] |
---|---|---|
author | Tina Johnson <tinajohnson.1234@gmail.com> | Mon Mar 09 16:11:18 2015 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 09 13:39:10 2015 +0100 |
tree | d95cc8c6e0b6d81e012a7a82a298ee184098a623 | |
parent | 07f83131e5b5d309dc8dd41911b66d3ce4c99323 [diff] |
drivers: staging: iio: meter: Removed unnecessary variable Variable ret is used only to store the error code to be returned. Hence use of ret is removed and the return statement modified. Coccinelle was used to prepare the patch: @rule1@ identifier ret; expression e; @@ -ret = +return e; -return ret; Signed-off-by: Tina Johnson <tinajohnson.1234@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>