Tag: 09971adc33bf49a31b16c84e05f525769e08cc60

staging: iio: addac: Remove unnecessary else after return

Author: Bhaktipriya Shridhar <bhaktipriya96@gmail.com> This patch fixes the checkpatch warning that else is not generally useful after a break or return. This was done using Coccinelle: @@ expression e2; statement s1; @@ if(e2) { … return …; } -else s1 Signed-off-by: Bhaktipriya Shridhar Signed-off-by: Greg Kroah-Hartman — drivers/staging/iio/addac/adt7316.c | 15 ++++++——— 1 file changed, 6 …

Continue reading