Commit 020bd6c4 authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Mark Brown

spi: spidev_test: Remove break after exit statement

When call print_usage() in parse_opts(), it will exit directly.
Since break is not useful after exit statement, remove it.
Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/1581567368-8055-1-git-send-email-yangtiezhu@loongson.cnSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent e9e40543
......@@ -283,7 +283,6 @@ static void parse_opts(int argc, char *argv[])
break;
default:
print_usage(argv[0]);
break;
}
}
if (mode & SPI_LOOP) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment