Commit d2e5f47a authored by Fabian Frederick's avatar Fabian Frederick Committed by David S. Miller

8390: remove unnecessary break after return

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2a79febd
...@@ -178,10 +178,8 @@ static enum mac8390_type __init mac8390_ident(struct nubus_dev *dev) ...@@ -178,10 +178,8 @@ static enum mac8390_type __init mac8390_ident(struct nubus_dev *dev)
case NUBUS_DRHW_APPLE_SONIC_LC: case NUBUS_DRHW_APPLE_SONIC_LC:
case NUBUS_DRHW_SONNET: case NUBUS_DRHW_SONNET:
return MAC8390_NONE; return MAC8390_NONE;
break;
default: default:
return MAC8390_APPLE; return MAC8390_APPLE;
break;
} }
break; break;
...@@ -189,13 +187,10 @@ static enum mac8390_type __init mac8390_ident(struct nubus_dev *dev) ...@@ -189,13 +187,10 @@ static enum mac8390_type __init mac8390_ident(struct nubus_dev *dev)
switch (dev->dr_hw) { switch (dev->dr_hw) {
case NUBUS_DRHW_ASANTE_LC: case NUBUS_DRHW_ASANTE_LC:
return MAC8390_NONE; return MAC8390_NONE;
break;
case NUBUS_DRHW_CABLETRON: case NUBUS_DRHW_CABLETRON:
return MAC8390_CABLETRON; return MAC8390_CABLETRON;
break;
default: default:
return MAC8390_APPLE; return MAC8390_APPLE;
break;
} }
break; break;
...@@ -220,10 +215,8 @@ static enum mac8390_type __init mac8390_ident(struct nubus_dev *dev) ...@@ -220,10 +215,8 @@ static enum mac8390_type __init mac8390_ident(struct nubus_dev *dev)
switch (dev->dr_hw) { switch (dev->dr_hw) {
case NUBUS_DRHW_INTERLAN: case NUBUS_DRHW_INTERLAN:
return MAC8390_INTERLAN; return MAC8390_INTERLAN;
break;
default: default:
return MAC8390_KINETICS; return MAC8390_KINETICS;
break;
} }
break; break;
...@@ -563,7 +556,6 @@ static int __init mac8390_initdev(struct net_device *dev, ...@@ -563,7 +556,6 @@ static int __init mac8390_initdev(struct net_device *dev,
case ACCESS_UNKNOWN: case ACCESS_UNKNOWN:
pr_err("Don't know how to access card memory!\n"); pr_err("Don't know how to access card memory!\n");
return -ENODEV; return -ENODEV;
break;
case ACCESS_16: case ACCESS_16:
/* 16 bit card, register map is reversed */ /* 16 bit card, register map is reversed */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment