Tag: 9d9f5a2dac916013d9b0560e176a7619f7bf958d

drivers: staging: iio: meter: Removed unnecessary variable

Author: Tina Johnson <tinajohnson.1234@gmail.com> 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 Signed-off-by: Greg Kroah-Hartman — drivers/staging/iio/meter/ade7758_ring.c …

Continue reading