summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/pci/if_rl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index 935ad1b..f4a733d 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -626,7 +626,6 @@ rl_miibus_readreg(dev, phy, reg)
case MII_PHYIDR2:
RL_UNLOCK(sc);
return(0);
- break;
/*
* Allow the rlphy driver to read the media status
* register. If we have a link partner which does not
@@ -637,7 +636,6 @@ rl_miibus_readreg(dev, phy, reg)
rval = CSR_READ_1(sc, RL_MEDIASTAT);
RL_UNLOCK(sc);
return(rval);
- break;
default:
printf("rl%d: bad phy register\n", sc->rl_unit);
RL_UNLOCK(sc);
OpenPOWER on IntegriCloud