mirror of https://gitee.com/openkylin/linux.git
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: Tiezhu Yang <yangtiezhu@loongson.cn> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://lore.kernel.org/r/1581567368-8055-1-git-send-email-yangtiezhu@loongson.cn Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
e9e40543ad
commit
020bd6c48e
|
@ -283,7 +283,6 @@ static void parse_opts(int argc, char *argv[])
|
|||
break;
|
||||
default:
|
||||
print_usage(argv[0]);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (mode & SPI_LOOP) {
|
||||
|
|
Loading…
Reference in New Issue