summaryrefslogtreecommitdiff
path: root/drivers/net/fm/t1040.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/fm/t1040.c')
-rw-r--r--drivers/net/fm/t1040.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/fm/t1040.c b/drivers/net/fm/t1040.c
index bcc871d842..4cce46d7f8 100644
--- a/drivers/net/fm/t1040.c
+++ b/drivers/net/fm/t1040.c
@@ -49,8 +49,6 @@ phy_interface_t fman_port_enet_if(enum fm_port port)
else if ((rcwsr13 & FSL_CORENET_RCWSR13_EC2) ==
FSL_CORENET_RCWSR13_EC2_FM1_DTSEC5_MII)
return PHY_INTERFACE_MODE_MII;
- else
- return PHY_INTERFACE_MODE_NONE;
}
switch (port) {