diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-07-20 10:27:46 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-21 00:30:18 -0400 |
commit | d2e5f47a6eafbea47347b9259a6b2fd5050a5444 (patch) | |
tree | 1a578549ae65ad755e21a4f291699ff00ef63256 /drivers/net/ethernet/8390 | |
parent | 2a79febdc28e93425f30ca2ebc491185b5b333bc (diff) |
8390: remove unnecessary break after return
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/8390')
-rw-r--r-- | drivers/net/ethernet/8390/mac8390.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/ethernet/8390/mac8390.c b/drivers/net/ethernet/8390/mac8390.c index 90e825e8abfe..65cf60f6718c 100644 --- a/drivers/net/ethernet/8390/mac8390.c +++ b/drivers/net/ethernet/8390/mac8390.c | |||
@@ -178,10 +178,8 @@ static enum mac8390_type __init mac8390_ident(struct nubus_dev *dev) | |||
178 | case NUBUS_DRHW_APPLE_SONIC_LC: | 178 | case NUBUS_DRHW_APPLE_SONIC_LC: |
179 | case NUBUS_DRHW_SONNET: | 179 | case NUBUS_DRHW_SONNET: |
180 | return MAC8390_NONE; | 180 | return MAC8390_NONE; |
181 | break; | ||
182 | default: | 181 | default: |
183 | return MAC8390_APPLE; | 182 | return MAC8390_APPLE; |
184 | break; | ||
185 | } | 183 | } |
186 | break; | 184 | break; |
187 | 185 | ||
@@ -189,13 +187,10 @@ static enum mac8390_type __init mac8390_ident(struct nubus_dev *dev) | |||
189 | switch (dev->dr_hw) { | 187 | switch (dev->dr_hw) { |
190 | case NUBUS_DRHW_ASANTE_LC: | 188 | case NUBUS_DRHW_ASANTE_LC: |
191 | return MAC8390_NONE; | 189 | return MAC8390_NONE; |
192 | break; | ||
193 | case NUBUS_DRHW_CABLETRON: | 190 | case NUBUS_DRHW_CABLETRON: |
194 | return MAC8390_CABLETRON; | 191 | return MAC8390_CABLETRON; |
195 | break; | ||
196 | default: | 192 | default: |
197 | return MAC8390_APPLE; | 193 | return MAC8390_APPLE; |
198 | break; | ||
199 | } | 194 | } |
200 | break; | 195 | break; |
201 | 196 | ||
@@ -220,10 +215,8 @@ static enum mac8390_type __init mac8390_ident(struct nubus_dev *dev) | |||
220 | switch (dev->dr_hw) { | 215 | switch (dev->dr_hw) { |
221 | case NUBUS_DRHW_INTERLAN: | 216 | case NUBUS_DRHW_INTERLAN: |
222 | return MAC8390_INTERLAN; | 217 | return MAC8390_INTERLAN; |
223 | break; | ||
224 | default: | 218 | default: |
225 | return MAC8390_KINETICS; | 219 | return MAC8390_KINETICS; |
226 | break; | ||
227 | } | 220 | } |
228 | break; | 221 | break; |
229 | 222 | ||
@@ -563,7 +556,6 @@ static int __init mac8390_initdev(struct net_device *dev, | |||
563 | case ACCESS_UNKNOWN: | 556 | case ACCESS_UNKNOWN: |
564 | pr_err("Don't know how to access card memory!\n"); | 557 | pr_err("Don't know how to access card memory!\n"); |
565 | return -ENODEV; | 558 | return -ENODEV; |
566 | break; | ||
567 | 559 | ||
568 | case ACCESS_16: | 560 | case ACCESS_16: |
569 | /* 16 bit card, register map is reversed */ | 561 | /* 16 bit card, register map is reversed */ |