diff options
author | Joe Perches <joe@perches.com> | 2011-06-03 07:51:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-06-05 17:33:40 -0400 |
commit | 6403eab143205a45a5493166ff8bf7e3646f4a77 (patch) | |
tree | 7c35249aa9edf24ae0440eaae648bbf1bc831f55 /drivers | |
parent | f81c62242045fb7be0a124d8c2540af96d842fad (diff) |
drivers/net: Remove unnecessary semicolons
Semicolons are not necessary after switch/while/for/if braces
so remove them.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/amd8111e.c | 2 | ||||
-rw-r--r-- | drivers/net/cxgb4/cxgb4_main.c | 2 | ||||
-rw-r--r-- | drivers/net/enic/enic_main.c | 2 | ||||
-rw-r--r-- | drivers/net/irda/via-ircc.h | 2 | ||||
-rw-r--r-- | drivers/net/iseries_veth.c | 4 | ||||
-rw-r--r-- | drivers/net/ixgbe/ixgbe_82599.c | 4 | ||||
-rw-r--r-- | drivers/net/ixgbe/ixgbe_common.c | 4 | ||||
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 2 | ||||
-rw-r--r-- | drivers/net/netxen/netxen_nic_init.c | 2 | ||||
-rw-r--r-- | drivers/net/ps3_gelic_net.c | 2 | ||||
-rw-r--r-- | drivers/net/slhc.c | 2 | ||||
-rw-r--r-- | drivers/net/sungem.c | 2 | ||||
-rw-r--r-- | drivers/net/tokenring/3c359.c | 6 | ||||
-rw-r--r-- | drivers/net/tokenring/ibmtr.c | 2 | ||||
-rw-r--r-- | drivers/net/tun.c | 2 | ||||
-rw-r--r-- | drivers/net/via-velocity.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/b43/main.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/b43legacy/main.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwmc3200wifi/fw.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco/main.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800lib.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800pci.c | 2 | ||||
-rw-r--r-- | drivers/net/znet.c | 2 |
23 files changed, 29 insertions, 27 deletions
diff --git a/drivers/net/amd8111e.c b/drivers/net/amd8111e.c index 241b185e6569..81475ea3a711 100644 --- a/drivers/net/amd8111e.c +++ b/drivers/net/amd8111e.c | |||
@@ -1958,7 +1958,7 @@ static int __devinit amd8111e_probe_one(struct pci_dev *pdev, | |||
1958 | IPG_CONVERGE_JIFFIES; | 1958 | IPG_CONVERGE_JIFFIES; |
1959 | lp->ipg_data.ipg = DEFAULT_IPG; | 1959 | lp->ipg_data.ipg = DEFAULT_IPG; |
1960 | lp->ipg_data.ipg_state = CSTATE; | 1960 | lp->ipg_data.ipg_state = CSTATE; |
1961 | }; | 1961 | } |
1962 | 1962 | ||
1963 | /* display driver and device information */ | 1963 | /* display driver and device information */ |
1964 | 1964 | ||
diff --git a/drivers/net/cxgb4/cxgb4_main.c b/drivers/net/cxgb4/cxgb4_main.c index 7e3cfbe89e3b..c9957b7f17b5 100644 --- a/drivers/net/cxgb4/cxgb4_main.c +++ b/drivers/net/cxgb4/cxgb4_main.c | |||
@@ -3704,7 +3704,7 @@ static int __devinit init_one(struct pci_dev *pdev, | |||
3704 | if (err) { | 3704 | if (err) { |
3705 | dev_warn(&pdev->dev, "only %d net devices registered\n", i); | 3705 | dev_warn(&pdev->dev, "only %d net devices registered\n", i); |
3706 | err = 0; | 3706 | err = 0; |
3707 | }; | 3707 | } |
3708 | 3708 | ||
3709 | if (cxgb4_debugfs_root) { | 3709 | if (cxgb4_debugfs_root) { |
3710 | adapter->debugfs_root = debugfs_create_dir(pci_name(pdev), | 3710 | adapter->debugfs_root = debugfs_create_dir(pci_name(pdev), |
diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c index 2f433fbfca0c..5b087ebe632d 100644 --- a/drivers/net/enic/enic_main.c +++ b/drivers/net/enic/enic_main.c | |||
@@ -1560,7 +1560,7 @@ static void enic_notify_timer_start(struct enic *enic) | |||
1560 | default: | 1560 | default: |
1561 | /* Using intr for notification for INTx/MSI-X */ | 1561 | /* Using intr for notification for INTx/MSI-X */ |
1562 | break; | 1562 | break; |
1563 | }; | 1563 | } |
1564 | } | 1564 | } |
1565 | 1565 | ||
1566 | /* rtnl lock is held, process context */ | 1566 | /* rtnl lock is held, process context */ |
diff --git a/drivers/net/irda/via-ircc.h b/drivers/net/irda/via-ircc.h index c6f58482b769..f903a6a2dcb7 100644 --- a/drivers/net/irda/via-ircc.h +++ b/drivers/net/irda/via-ircc.h | |||
@@ -210,7 +210,7 @@ static void DisableDmaChannel(unsigned int channel) | |||
210 | break; | 210 | break; |
211 | default: | 211 | default: |
212 | break; | 212 | break; |
213 | }; //Switch | 213 | } |
214 | } | 214 | } |
215 | 215 | ||
216 | static unsigned char ReadLPCReg(int iRegNum) | 216 | static unsigned char ReadLPCReg(int iRegNum) |
diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c index 9ece1fd9889d..b6c296f4b4d5 100644 --- a/drivers/net/iseries_veth.c +++ b/drivers/net/iseries_veth.c | |||
@@ -538,7 +538,7 @@ static void veth_handle_ack(struct veth_lpevent *event) | |||
538 | default: | 538 | default: |
539 | veth_error("Unknown ack type %d from LPAR %d.\n", | 539 | veth_error("Unknown ack type %d from LPAR %d.\n", |
540 | event->base_event.xSubtype, rlp); | 540 | event->base_event.xSubtype, rlp); |
541 | }; | 541 | } |
542 | } | 542 | } |
543 | 543 | ||
544 | static void veth_handle_int(struct veth_lpevent *event) | 544 | static void veth_handle_int(struct veth_lpevent *event) |
@@ -584,7 +584,7 @@ static void veth_handle_int(struct veth_lpevent *event) | |||
584 | default: | 584 | default: |
585 | veth_error("Unknown interrupt type %d from LPAR %d.\n", | 585 | veth_error("Unknown interrupt type %d from LPAR %d.\n", |
586 | event->base_event.xSubtype, rlp); | 586 | event->base_event.xSubtype, rlp); |
587 | }; | 587 | } |
588 | } | 588 | } |
589 | 589 | ||
590 | static void veth_handle_event(struct HvLpEvent *event) | 590 | static void veth_handle_event(struct HvLpEvent *event) |
diff --git a/drivers/net/ixgbe/ixgbe_82599.c b/drivers/net/ixgbe/ixgbe_82599.c index 8ee661245af3..0d7bc9156353 100644 --- a/drivers/net/ixgbe/ixgbe_82599.c +++ b/drivers/net/ixgbe/ixgbe_82599.c | |||
@@ -1157,7 +1157,7 @@ s32 ixgbe_init_fdir_signature_82599(struct ixgbe_hw *hw, u32 pballoc) | |||
1157 | default: | 1157 | default: |
1158 | /* bad value */ | 1158 | /* bad value */ |
1159 | return IXGBE_ERR_CONFIG; | 1159 | return IXGBE_ERR_CONFIG; |
1160 | }; | 1160 | } |
1161 | 1161 | ||
1162 | /* Move the flexible bytes to use the ethertype - shift 6 words */ | 1162 | /* Move the flexible bytes to use the ethertype - shift 6 words */ |
1163 | fdirctrl |= (0x6 << IXGBE_FDIRCTRL_FLEX_SHIFT); | 1163 | fdirctrl |= (0x6 << IXGBE_FDIRCTRL_FLEX_SHIFT); |
@@ -1245,7 +1245,7 @@ s32 ixgbe_init_fdir_perfect_82599(struct ixgbe_hw *hw, u32 pballoc) | |||
1245 | default: | 1245 | default: |
1246 | /* bad value */ | 1246 | /* bad value */ |
1247 | return IXGBE_ERR_CONFIG; | 1247 | return IXGBE_ERR_CONFIG; |
1248 | }; | 1248 | } |
1249 | 1249 | ||
1250 | /* Turn perfect match filtering on */ | 1250 | /* Turn perfect match filtering on */ |
1251 | fdirctrl |= IXGBE_FDIRCTRL_PERFECT_MATCH; | 1251 | fdirctrl |= IXGBE_FDIRCTRL_PERFECT_MATCH; |
diff --git a/drivers/net/ixgbe/ixgbe_common.c b/drivers/net/ixgbe/ixgbe_common.c index b894b42a741c..de65643b79a4 100644 --- a/drivers/net/ixgbe/ixgbe_common.c +++ b/drivers/net/ixgbe/ixgbe_common.c | |||
@@ -1292,7 +1292,7 @@ static s32 ixgbe_ready_eeprom(struct ixgbe_hw *hw) | |||
1292 | 1292 | ||
1293 | udelay(5); | 1293 | udelay(5); |
1294 | ixgbe_standby_eeprom(hw); | 1294 | ixgbe_standby_eeprom(hw); |
1295 | }; | 1295 | } |
1296 | 1296 | ||
1297 | /* | 1297 | /* |
1298 | * On some parts, SPI write time could vary from 0-20mSec on 3.3V | 1298 | * On some parts, SPI write time could vary from 0-20mSec on 3.3V |
@@ -1374,7 +1374,7 @@ static void ixgbe_shift_out_eeprom_bits(struct ixgbe_hw *hw, u16 data, | |||
1374 | * EEPROM | 1374 | * EEPROM |
1375 | */ | 1375 | */ |
1376 | mask = mask >> 1; | 1376 | mask = mask >> 1; |
1377 | }; | 1377 | } |
1378 | 1378 | ||
1379 | /* We leave the "DI" bit set to "0" when we leave this routine. */ | 1379 | /* We leave the "DI" bit set to "0" when we leave this routine. */ |
1380 | eec &= ~IXGBE_EEC_DI; | 1380 | eec &= ~IXGBE_EEC_DI; |
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index bf84849600ce..3f33870de211 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -1013,7 +1013,7 @@ static int myri10ge_reset(struct myri10ge_priv *mgp) | |||
1013 | cmd.data2 = i; | 1013 | cmd.data2 = i; |
1014 | status |= myri10ge_send_cmd(mgp, MXGEFW_CMD_SET_INTRQ_DMA, | 1014 | status |= myri10ge_send_cmd(mgp, MXGEFW_CMD_SET_INTRQ_DMA, |
1015 | &cmd, 0); | 1015 | &cmd, 0); |
1016 | }; | 1016 | } |
1017 | 1017 | ||
1018 | status |= | 1018 | status |= |
1019 | myri10ge_send_cmd(mgp, MXGEFW_CMD_GET_IRQ_ACK_OFFSET, &cmd, 0); | 1019 | myri10ge_send_cmd(mgp, MXGEFW_CMD_GET_IRQ_ACK_OFFSET, &cmd, 0); |
diff --git a/drivers/net/netxen/netxen_nic_init.c b/drivers/net/netxen/netxen_nic_init.c index 7f999671c7b2..ca59b4f026f0 100644 --- a/drivers/net/netxen/netxen_nic_init.c +++ b/drivers/net/netxen/netxen_nic_init.c | |||
@@ -1279,7 +1279,7 @@ void netxen_free_dummy_dma(struct netxen_adapter *adapter) | |||
1279 | 1279 | ||
1280 | if (--i == 0) | 1280 | if (--i == 0) |
1281 | break; | 1281 | break; |
1282 | }; | 1282 | } |
1283 | } | 1283 | } |
1284 | 1284 | ||
1285 | if (i) { | 1285 | if (i) { |
diff --git a/drivers/net/ps3_gelic_net.c b/drivers/net/ps3_gelic_net.c index b1f251da1535..d47abb4e7eb6 100644 --- a/drivers/net/ps3_gelic_net.c +++ b/drivers/net/ps3_gelic_net.c | |||
@@ -1009,7 +1009,7 @@ static int gelic_card_decode_one_descr(struct gelic_card *card) | |||
1009 | netdev = card->netdev[i]; | 1009 | netdev = card->netdev[i]; |
1010 | break; | 1010 | break; |
1011 | } | 1011 | } |
1012 | }; | 1012 | } |
1013 | if (GELIC_PORT_MAX <= i) { | 1013 | if (GELIC_PORT_MAX <= i) { |
1014 | pr_info("%s: unknown packet vid=%x\n", __func__, vid); | 1014 | pr_info("%s: unknown packet vid=%x\n", __func__, vid); |
1015 | goto refill; | 1015 | goto refill; |
diff --git a/drivers/net/slhc.c b/drivers/net/slhc.c index ab9e3b785b5b..0a0a6643cf3a 100644 --- a/drivers/net/slhc.c +++ b/drivers/net/slhc.c | |||
@@ -297,7 +297,7 @@ slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, | |||
297 | lcs = cs; | 297 | lcs = cs; |
298 | cs = cs->next; | 298 | cs = cs->next; |
299 | comp->sls_o_searches++; | 299 | comp->sls_o_searches++; |
300 | }; | 300 | } |
301 | /* | 301 | /* |
302 | * Didn't find it -- re-use oldest cstate. Send an | 302 | * Didn't find it -- re-use oldest cstate. Send an |
303 | * uncompressed packet that tells the other side what | 303 | * uncompressed packet that tells the other side what |
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c index f0bcbe4bce4a..71d4a0329d02 100644 --- a/drivers/net/sungem.c +++ b/drivers/net/sungem.c | |||
@@ -2716,7 +2716,7 @@ static int gem_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) | |||
2716 | data->val_in); | 2716 | data->val_in); |
2717 | rc = 0; | 2717 | rc = 0; |
2718 | break; | 2718 | break; |
2719 | }; | 2719 | } |
2720 | return rc; | 2720 | return rc; |
2721 | } | 2721 | } |
2722 | 2722 | ||
diff --git a/drivers/net/tokenring/3c359.c b/drivers/net/tokenring/3c359.c index ff32befd8443..b6162fe2348e 100644 --- a/drivers/net/tokenring/3c359.c +++ b/drivers/net/tokenring/3c359.c | |||
@@ -304,7 +304,7 @@ static int __devinit xl_probe(struct pci_dev *pdev, | |||
304 | 304 | ||
305 | if ((i = pci_request_regions(pdev,"3c359"))) { | 305 | if ((i = pci_request_regions(pdev,"3c359"))) { |
306 | return i ; | 306 | return i ; |
307 | } ; | 307 | } |
308 | 308 | ||
309 | /* | 309 | /* |
310 | * Allowing init_trdev to allocate the private data will align | 310 | * Allowing init_trdev to allocate the private data will align |
@@ -1773,7 +1773,9 @@ static void xl_wait_misr_flags(struct net_device *dev) | |||
1773 | if (readb(xl_mmio + MMIO_MACDATA) != 0) { /* Misr not clear */ | 1773 | if (readb(xl_mmio + MMIO_MACDATA) != 0) { /* Misr not clear */ |
1774 | for (i=0; i<6; i++) { | 1774 | for (i=0; i<6; i++) { |
1775 | writel(MEM_BYTE_READ | 0xDFFE0 | i, xl_mmio + MMIO_MAC_ACCESS_CMD) ; | 1775 | writel(MEM_BYTE_READ | 0xDFFE0 | i, xl_mmio + MMIO_MAC_ACCESS_CMD) ; |
1776 | while (readb(xl_mmio + MMIO_MACDATA) != 0 ) {} ; /* Empty Loop */ | 1776 | while (readb(xl_mmio + MMIO_MACDATA) != 0) { |
1777 | ; /* Empty Loop */ | ||
1778 | } | ||
1777 | } | 1779 | } |
1778 | } | 1780 | } |
1779 | 1781 | ||
diff --git a/drivers/net/tokenring/ibmtr.c b/drivers/net/tokenring/ibmtr.c index 4786497de03e..e896ad0e8d24 100644 --- a/drivers/net/tokenring/ibmtr.c +++ b/drivers/net/tokenring/ibmtr.c | |||
@@ -177,7 +177,7 @@ static char __devinit *adapter_def(char type) | |||
177 | case 0xD: return "16/4 Adapter/A (short) | 16/4 ISA-16 Adapter"; | 177 | case 0xD: return "16/4 Adapter/A (short) | 16/4 ISA-16 Adapter"; |
178 | case 0xC: return "Auto 16/4 Adapter"; | 178 | case 0xC: return "Auto 16/4 Adapter"; |
179 | default: return "adapter (unknown type)"; | 179 | default: return "adapter (unknown type)"; |
180 | }; | 180 | } |
181 | }; | 181 | }; |
182 | 182 | ||
183 | #define TRC_INIT 0x01 /* Trace initialization & PROBEs */ | 183 | #define TRC_INIT 0x01 /* Trace initialization & PROBEs */ |
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 74e94054ab1a..8a27cbf19dd6 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c | |||
@@ -666,7 +666,7 @@ static __inline__ ssize_t tun_get_user(struct tun_struct *tun, | |||
666 | case TUN_TAP_DEV: | 666 | case TUN_TAP_DEV: |
667 | skb->protocol = eth_type_trans(skb, tun->dev); | 667 | skb->protocol = eth_type_trans(skb, tun->dev); |
668 | break; | 668 | break; |
669 | }; | 669 | } |
670 | 670 | ||
671 | if (gso.gso_type != VIRTIO_NET_HDR_GSO_NONE) { | 671 | if (gso.gso_type != VIRTIO_NET_HDR_GSO_NONE) { |
672 | pr_debug("GSO!\n"); | 672 | pr_debug("GSO!\n"); |
diff --git a/drivers/net/via-velocity.c b/drivers/net/via-velocity.c index 06daa9d6fee8..f92924283d3b 100644 --- a/drivers/net/via-velocity.c +++ b/drivers/net/via-velocity.c | |||
@@ -1887,7 +1887,7 @@ static void velocity_error(struct velocity_info *vptr, int status) | |||
1887 | else | 1887 | else |
1888 | netif_wake_queue(vptr->dev); | 1888 | netif_wake_queue(vptr->dev); |
1889 | 1889 | ||
1890 | }; | 1890 | } |
1891 | if (status & ISR_MIBFI) | 1891 | if (status & ISR_MIBFI) |
1892 | velocity_update_hw_mibs(vptr); | 1892 | velocity_update_hw_mibs(vptr); |
1893 | if (status & ISR_LSTEI) | 1893 | if (status & ISR_LSTEI) |
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index eb4159686985..d74bc5ff8e13 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c | |||
@@ -4085,7 +4085,7 @@ static int b43_phy_versioning(struct b43_wldev *dev) | |||
4085 | #endif | 4085 | #endif |
4086 | default: | 4086 | default: |
4087 | unsupported = 1; | 4087 | unsupported = 1; |
4088 | }; | 4088 | } |
4089 | if (unsupported) { | 4089 | if (unsupported) { |
4090 | b43err(dev->wl, "FOUND UNSUPPORTED PHY " | 4090 | b43err(dev->wl, "FOUND UNSUPPORTED PHY " |
4091 | "(Analog %u, Type %u, Revision %u)\n", | 4091 | "(Analog %u, Type %u, Revision %u)\n", |
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c index 1ab8861dd43a..60107b8e4c93 100644 --- a/drivers/net/wireless/b43legacy/main.c +++ b/drivers/net/wireless/b43legacy/main.c | |||
@@ -2974,7 +2974,7 @@ static int b43legacy_phy_versioning(struct b43legacy_wldev *dev) | |||
2974 | break; | 2974 | break; |
2975 | default: | 2975 | default: |
2976 | unsupported = 1; | 2976 | unsupported = 1; |
2977 | }; | 2977 | } |
2978 | if (unsupported) { | 2978 | if (unsupported) { |
2979 | b43legacyerr(dev->wl, "FOUND UNSUPPORTED PHY " | 2979 | b43legacyerr(dev->wl, "FOUND UNSUPPORTED PHY " |
2980 | "(Analog %u, Type %u, Revision %u)\n", | 2980 | "(Analog %u, Type %u, Revision %u)\n", |
diff --git a/drivers/net/wireless/iwmc3200wifi/fw.c b/drivers/net/wireless/iwmc3200wifi/fw.c index 49067092d336..6f1afe6bbc8c 100644 --- a/drivers/net/wireless/iwmc3200wifi/fw.c +++ b/drivers/net/wireless/iwmc3200wifi/fw.c | |||
@@ -187,7 +187,7 @@ static int iwm_load_img(struct iwm_priv *iwm, const char *img_name) | |||
187 | if (ret < 0) | 187 | if (ret < 0) |
188 | goto err_release_fw; | 188 | goto err_release_fw; |
189 | opcode_idx++; | 189 | opcode_idx++; |
190 | }; | 190 | } |
191 | 191 | ||
192 | /* Read firmware version */ | 192 | /* Read firmware version */ |
193 | fw_offset = iwm_fw_op_offset(iwm, fw, IWM_HDR_REC_OP_SW_VER, 0); | 193 | fw_offset = iwm_fw_op_offset(iwm, fw, IWM_HDR_REC_OP_SW_VER, 0); |
diff --git a/drivers/net/wireless/orinoco/main.c b/drivers/net/wireless/orinoco/main.c index 62c6b2b37dbe..b0f233f1100e 100644 --- a/drivers/net/wireless/orinoco/main.c +++ b/drivers/net/wireless/orinoco/main.c | |||
@@ -1958,7 +1958,7 @@ irqreturn_t orinoco_interrupt(int irq, void *dev_id) | |||
1958 | 1958 | ||
1959 | evstat = hermes_read_regn(hw, EVSTAT); | 1959 | evstat = hermes_read_regn(hw, EVSTAT); |
1960 | events = evstat & hw->inten; | 1960 | events = evstat & hw->inten; |
1961 | }; | 1961 | } |
1962 | 1962 | ||
1963 | orinoco_unlock(priv, &flags); | 1963 | orinoco_unlock(priv, &flags); |
1964 | return IRQ_HANDLED; | 1964 | return IRQ_HANDLED; |
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index 2a6aa85cc6c9..8f92dfcb08df 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c | |||
@@ -1355,7 +1355,7 @@ static void rt2800_config_ht_opmode(struct rt2x00_dev *rt2x00dev, | |||
1355 | gf20_rate = gf40_rate = 0x0003; | 1355 | gf20_rate = gf40_rate = 0x0003; |
1356 | } | 1356 | } |
1357 | break; | 1357 | break; |
1358 | }; | 1358 | } |
1359 | 1359 | ||
1360 | /* check for STAs not supporting greenfield mode */ | 1360 | /* check for STAs not supporting greenfield mode */ |
1361 | if (any_sta_nongf) | 1361 | if (any_sta_nongf) |
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c index cc4a54f571b8..3ac0943b9789 100644 --- a/drivers/net/wireless/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/rt2x00/rt2800pci.c | |||
@@ -219,7 +219,7 @@ static void rt2800pci_start_queue(struct data_queue *queue) | |||
219 | break; | 219 | break; |
220 | default: | 220 | default: |
221 | break; | 221 | break; |
222 | }; | 222 | } |
223 | } | 223 | } |
224 | 224 | ||
225 | static void rt2800pci_kick_queue(struct data_queue *queue) | 225 | static void rt2800pci_kick_queue(struct data_queue *queue) |
diff --git a/drivers/net/znet.c b/drivers/net/znet.c index ec2800ff8d42..8b8881718f5e 100644 --- a/drivers/net/znet.c +++ b/drivers/net/znet.c | |||
@@ -731,7 +731,7 @@ static void znet_rx(struct net_device *dev) | |||
731 | cur_frame_end_offset -= ((count + 1)>>1) + 3; | 731 | cur_frame_end_offset -= ((count + 1)>>1) + 3; |
732 | if (cur_frame_end_offset < 0) | 732 | if (cur_frame_end_offset < 0) |
733 | cur_frame_end_offset += RX_BUF_SIZE/2; | 733 | cur_frame_end_offset += RX_BUF_SIZE/2; |
734 | }; | 734 | } |
735 | 735 | ||
736 | /* Now step forward through the list. */ | 736 | /* Now step forward through the list. */ |
737 | do { | 737 | do { |