Tag: 6e1edc0f8bd9c447b152c29252a9915225d7b8cc

staging: unisys: visornic: 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 s Signed-off-by: Bhaktipriya Shridhar Signed-off-by: Greg Kroah-Hartman — drivers/staging/unisys/visornic/visornic_main.c | 5 ++— 1 file changed, 2 …

Continue reading