git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32221ee
)
drivers: net: fsl-mc: remove an useless break statement
author
Ioana Ciornei
<ioana.ciornei@nxp.com>
Thu, 5 Jan 2023 15:03:16 +0000
(17:03 +0200)
committer
Tom Rini
<trini@konsulko.com>
Thu, 2 Feb 2023 19:44:53 +0000
(14:44 -0500)
The break statement is just after a goto statement, thus it will not get
executed. Just remove it.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/fsl-mc/mc.c
patch
|
blob
|
history
diff --git
a/drivers/net/fsl-mc/mc.c
b/drivers/net/fsl-mc/mc.c
index
66fcb48
..
180e57e
100644
(file)
--- a/
drivers/net/fsl-mc/mc.c
+++ b/
drivers/net/fsl-mc/mc.c
@@
-1961,7
+1961,6
@@
static int do_fsl_mc(struct cmd_tbl *cmdtp, int flag, int argc,
default:
printf("Invalid option: %s\n", argv[1]);
goto usage;
- break;
}
return err;
usage: