]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
drivers: net: fsl-mc: remove an useless break statement
authorIoana Ciornei <ioana.ciornei@nxp.com>
Thu, 5 Jan 2023 15:03:16 +0000 (17:03 +0200)
committerTom 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

index 66fcb48ebd55ad5f9efcbfe058e14d717fa3b116..180e57e422665bb9b3548396dade7030e9eb2777 100644 (file)
@@ -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: