diff options
author | Rafał Mikrut <mikrutrafal@protonmail.com> | 2020-12-08 22:01:14 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-12-11 13:48:24 +0100 |
commit | 561bfc96f9bb3303791f6620a958d02167abed0f (patch) | |
tree | 58ade9127fe99ba429f4ccb16b83278947479214 /target/linux/zynq/image | |
parent | 848d668427c544d20f8aa3041fa11b4d4adc9bc8 (diff) | |
download | upstream-561bfc96f9bb3303791f6620a958d02167abed0f.tar.gz upstream-561bfc96f9bb3303791f6620a958d02167abed0f.tar.bz2 upstream-561bfc96f9bb3303791f6620a958d02167abed0f.zip |
realtek: Add missing case in switch statement
Cppcheck shows here duplicated break.
Code `state->speed = SPEED_1000;` will be never executed because above
it there is break statement.
Almost identical statement is placed in another realtek driver
https://github.com/openwrt/openwrt/blob/18a53d43d646290053eff4736ec852efcf6bf510/target/linux/realtek/files-5.4/drivers/net/dsa/rtl83xx/dsa.c#L286-L294
Signed-off-by: Rafał Mikrut <mikrutrafal@protonmail.com>
Diffstat (limited to 'target/linux/zynq/image')
0 files changed, 0 insertions, 0 deletions