diff options
author | Joe Perches <joe@perches.com> | 2010-05-18 01:47:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-18 01:47:34 -0400 |
commit | ee289b6440c3b0ccb9459495783e8c299bec6604 (patch) | |
tree | 6c3eeae205789e50657fd93853d7f3ce5802810c /drivers/net | |
parent | 5113fec0984276836cb6f0677f7cb53586ec3451 (diff) |
drivers/net: remove useless semicolons
switch and while statements don't need semicolons at end of statement
[ Fixup minor conflicts with recent wimax merge... -DaveM ]
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/cassini.c | 2 | ||||
-rw-r--r-- | drivers/net/ehea/ehea_main.c | 6 | ||||
-rw-r--r-- | drivers/net/eql.c | 2 | ||||
-rw-r--r-- | drivers/net/irda/via-ircc.h | 2 | ||||
-rw-r--r-- | drivers/net/jme.c | 2 | ||||
-rw-r--r-- | drivers/net/lib82596.c | 2 | ||||
-rw-r--r-- | drivers/net/mlx4/eq.c | 2 | ||||
-rw-r--r-- | drivers/net/myri_sbus.c | 2 | ||||
-rw-r--r-- | drivers/net/pppoe.c | 2 | ||||
-rw-r--r-- | drivers/net/ps3_gelic_wireless.c | 4 | ||||
-rw-r--r-- | drivers/net/skfp/smt.c | 2 | ||||
-rw-r--r-- | drivers/net/slip.c | 2 | ||||
-rw-r--r-- | drivers/net/sunbmac.c | 4 | ||||
-rw-r--r-- | drivers/net/sunhme.c | 6 | ||||
-rw-r--r-- | drivers/net/sunlance.c | 2 | ||||
-rw-r--r-- | drivers/net/tun.c | 2 | ||||
-rw-r--r-- | drivers/net/wimax/i2400m/control.c | 10 | ||||
-rw-r--r-- | drivers/net/wireless/ath/ath9k/init.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/hostap/hostap_ap.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/hostap/hostap_download.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-lib.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/prism54/islpci_dev.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00firmware.c | 2 |
23 files changed, 33 insertions, 33 deletions
diff --git a/drivers/net/cassini.c b/drivers/net/cassini.c index 6d76236ea069..04a03f7003a0 100644 --- a/drivers/net/cassini.c +++ b/drivers/net/cassini.c | |||
@@ -4824,7 +4824,7 @@ static int cas_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) | |||
4824 | break; | 4824 | break; |
4825 | default: | 4825 | default: |
4826 | break; | 4826 | break; |
4827 | }; | 4827 | } |
4828 | 4828 | ||
4829 | mutex_unlock(&cp->pm_mutex); | 4829 | mutex_unlock(&cp->pm_mutex); |
4830 | return rc; | 4830 | return rc; |
diff --git a/drivers/net/ehea/ehea_main.c b/drivers/net/ehea/ehea_main.c index e8a8ccfedac6..02698a1c80b0 100644 --- a/drivers/net/ehea/ehea_main.c +++ b/drivers/net/ehea/ehea_main.c | |||
@@ -820,7 +820,7 @@ static struct ehea_cqe *ehea_proc_cqes(struct ehea_port_res *pr, int my_quota) | |||
820 | quota--; | 820 | quota--; |
821 | 821 | ||
822 | cqe = ehea_poll_cq(send_cq); | 822 | cqe = ehea_poll_cq(send_cq); |
823 | }; | 823 | } |
824 | 824 | ||
825 | ehea_update_feca(send_cq, cqe_counter); | 825 | ehea_update_feca(send_cq, cqe_counter); |
826 | atomic_add(swqe_av, &pr->swqe_avail); | 826 | atomic_add(swqe_av, &pr->swqe_avail); |
@@ -3253,7 +3253,7 @@ static int ehea_setup_ports(struct ehea_adapter *adapter) | |||
3253 | ehea_remove_adapter_mr(adapter); | 3253 | ehea_remove_adapter_mr(adapter); |
3254 | 3254 | ||
3255 | i++; | 3255 | i++; |
3256 | }; | 3256 | } |
3257 | return 0; | 3257 | return 0; |
3258 | } | 3258 | } |
3259 | 3259 | ||
@@ -3272,7 +3272,7 @@ static struct device_node *ehea_get_eth_dn(struct ehea_adapter *adapter, | |||
3272 | if (dn_log_port_id) | 3272 | if (dn_log_port_id) |
3273 | if (*dn_log_port_id == logical_port_id) | 3273 | if (*dn_log_port_id == logical_port_id) |
3274 | return eth_dn; | 3274 | return eth_dn; |
3275 | }; | 3275 | } |
3276 | 3276 | ||
3277 | return NULL; | 3277 | return NULL; |
3278 | } | 3278 | } |
diff --git a/drivers/net/eql.c b/drivers/net/eql.c index b34a2ddeef4c..dda2c7944da9 100644 --- a/drivers/net/eql.c +++ b/drivers/net/eql.c | |||
@@ -288,7 +288,7 @@ static int eql_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd) | |||
288 | return eql_s_master_cfg(dev, ifr->ifr_data); | 288 | return eql_s_master_cfg(dev, ifr->ifr_data); |
289 | default: | 289 | default: |
290 | return -EOPNOTSUPP; | 290 | return -EOPNOTSUPP; |
291 | }; | 291 | } |
292 | } | 292 | } |
293 | 293 | ||
294 | /* queue->lock must be held */ | 294 | /* queue->lock must be held */ |
diff --git a/drivers/net/irda/via-ircc.h b/drivers/net/irda/via-ircc.h index d9d1db03fa2d..5a84822b5a43 100644 --- a/drivers/net/irda/via-ircc.h +++ b/drivers/net/irda/via-ircc.h | |||
@@ -774,7 +774,7 @@ static void SetBaudRate(__u16 iobase, __u32 rate) | |||
774 | break; | 774 | break; |
775 | default: | 775 | default: |
776 | break; | 776 | break; |
777 | }; | 777 | } |
778 | } else if (IsMIROn(iobase)) { | 778 | } else if (IsMIROn(iobase)) { |
779 | value = 0; // will automatically be fixed in 1.152M | 779 | value = 0; // will automatically be fixed in 1.152M |
780 | } else if (IsFIROn(iobase)) { | 780 | } else if (IsFIROn(iobase)) { |
diff --git a/drivers/net/jme.c b/drivers/net/jme.c index 4a090650b5aa..99f24f5cac53 100644 --- a/drivers/net/jme.c +++ b/drivers/net/jme.c | |||
@@ -2835,7 +2835,7 @@ jme_init_one(struct pci_dev *pdev, | |||
2835 | default: | 2835 | default: |
2836 | jme->reg_txcs = TXCS_DEFAULT | TXCS_DMASIZE_512B; | 2836 | jme->reg_txcs = TXCS_DEFAULT | TXCS_DMASIZE_512B; |
2837 | break; | 2837 | break; |
2838 | }; | 2838 | } |
2839 | 2839 | ||
2840 | /* | 2840 | /* |
2841 | * Must check before reset_mac_processor | 2841 | * Must check before reset_mac_processor |
diff --git a/drivers/net/lib82596.c b/drivers/net/lib82596.c index de856d8abc90..ce5d6e909218 100644 --- a/drivers/net/lib82596.c +++ b/drivers/net/lib82596.c | |||
@@ -1091,7 +1091,7 @@ static int __devinit i82596_probe(struct net_device *dev) | |||
1091 | DMA_FREE(dev->dev.parent, sizeof(struct i596_dma), | 1091 | DMA_FREE(dev->dev.parent, sizeof(struct i596_dma), |
1092 | (void *)dma, lp->dma_addr); | 1092 | (void *)dma, lp->dma_addr); |
1093 | return i; | 1093 | return i; |
1094 | }; | 1094 | } |
1095 | 1095 | ||
1096 | DEB(DEB_PROBE, printk(KERN_INFO "%s: 82596 at %#3lx, %pM IRQ %d.\n", | 1096 | DEB(DEB_PROBE, printk(KERN_INFO "%s: 82596 at %#3lx, %pM IRQ %d.\n", |
1097 | dev->name, dev->base_addr, dev->dev_addr, | 1097 | dev->name, dev->base_addr, dev->dev_addr, |
diff --git a/drivers/net/mlx4/eq.c b/drivers/net/mlx4/eq.c index 7365bf488b81..423053482ed5 100644 --- a/drivers/net/mlx4/eq.c +++ b/drivers/net/mlx4/eq.c | |||
@@ -239,7 +239,7 @@ static int mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq) | |||
239 | mlx4_warn(dev, "Unhandled event %02x(%02x) on EQ %d at index %u\n", | 239 | mlx4_warn(dev, "Unhandled event %02x(%02x) on EQ %d at index %u\n", |
240 | eqe->type, eqe->subtype, eq->eqn, eq->cons_index); | 240 | eqe->type, eqe->subtype, eq->eqn, eq->cons_index); |
241 | break; | 241 | break; |
242 | }; | 242 | } |
243 | 243 | ||
244 | ++eq->cons_index; | 244 | ++eq->cons_index; |
245 | eqes_found = 1; | 245 | eqes_found = 1; |
diff --git a/drivers/net/myri_sbus.c b/drivers/net/myri_sbus.c index b72e749afdf1..3898108f98ce 100644 --- a/drivers/net/myri_sbus.c +++ b/drivers/net/myri_sbus.c | |||
@@ -865,7 +865,7 @@ static inline void determine_reg_space_size(struct myri_eth *mp) | |||
865 | printk("myricom: AIEEE weird cpu version %04x assuming pre4.0\n", | 865 | printk("myricom: AIEEE weird cpu version %04x assuming pre4.0\n", |
866 | mp->eeprom.cpuvers); | 866 | mp->eeprom.cpuvers); |
867 | mp->reg_size = (3 * 128 * 1024) + 4096; | 867 | mp->reg_size = (3 * 128 * 1024) + 4096; |
868 | }; | 868 | } |
869 | } | 869 | } |
870 | 870 | ||
871 | #ifdef DEBUG_DETECT | 871 | #ifdef DEBUG_DETECT |
diff --git a/drivers/net/pppoe.c b/drivers/net/pppoe.c index 99f031a08a01..03fd5821d9a1 100644 --- a/drivers/net/pppoe.c +++ b/drivers/net/pppoe.c | |||
@@ -362,7 +362,7 @@ static int pppoe_device_event(struct notifier_block *this, | |||
362 | 362 | ||
363 | default: | 363 | default: |
364 | break; | 364 | break; |
365 | }; | 365 | } |
366 | 366 | ||
367 | return NOTIFY_DONE; | 367 | return NOTIFY_DONE; |
368 | } | 368 | } |
diff --git a/drivers/net/ps3_gelic_wireless.c b/drivers/net/ps3_gelic_wireless.c index a7bc406658e1..27f5d6f7ade6 100644 --- a/drivers/net/ps3_gelic_wireless.c +++ b/drivers/net/ps3_gelic_wireless.c | |||
@@ -896,7 +896,7 @@ static int gelic_wl_set_auth(struct net_device *netdev, | |||
896 | default: | 896 | default: |
897 | ret = -EOPNOTSUPP; | 897 | ret = -EOPNOTSUPP; |
898 | break; | 898 | break; |
899 | }; | 899 | } |
900 | 900 | ||
901 | if (!ret) | 901 | if (!ret) |
902 | set_bit(GELIC_WL_STAT_CONFIGURED, &wl->stat); | 902 | set_bit(GELIC_WL_STAT_CONFIGURED, &wl->stat); |
@@ -1991,7 +1991,7 @@ static int gelic_wl_associate_bss(struct gelic_wl_info *wl, | |||
1991 | case GELIC_WL_WPA_LEVEL_WPA2: | 1991 | case GELIC_WL_WPA_LEVEL_WPA2: |
1992 | ret = gelic_wl_do_wpa_setup(wl); | 1992 | ret = gelic_wl_do_wpa_setup(wl); |
1993 | break; | 1993 | break; |
1994 | }; | 1994 | } |
1995 | 1995 | ||
1996 | if (ret) { | 1996 | if (ret) { |
1997 | pr_debug("%s: WEP/WPA setup failed %d\n", __func__, | 1997 | pr_debug("%s: WEP/WPA setup failed %d\n", __func__, |
diff --git a/drivers/net/skfp/smt.c b/drivers/net/skfp/smt.c index 83d16fecfac4..6f35bb77595f 100644 --- a/drivers/net/skfp/smt.c +++ b/drivers/net/skfp/smt.c | |||
@@ -574,7 +574,7 @@ void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs) | |||
574 | if (smt_check_para(smc,sm,plist_nif)) { | 574 | if (smt_check_para(smc,sm,plist_nif)) { |
575 | DB_SMT("SMT: NIF with para problem, ignoring\n",0,0) ; | 575 | DB_SMT("SMT: NIF with para problem, ignoring\n",0,0) ; |
576 | break ; | 576 | break ; |
577 | } ; | 577 | } |
578 | switch (sm->smt_type) { | 578 | switch (sm->smt_type) { |
579 | case SMT_ANNOUNCE : | 579 | case SMT_ANNOUNCE : |
580 | case SMT_REQUEST : | 580 | case SMT_REQUEST : |
diff --git a/drivers/net/slip.c b/drivers/net/slip.c index d92772e992d2..fa434fb8fb7c 100644 --- a/drivers/net/slip.c +++ b/drivers/net/slip.c | |||
@@ -1269,7 +1269,7 @@ static int sl_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) | |||
1269 | 1269 | ||
1270 | case SIOCGLEASE: | 1270 | case SIOCGLEASE: |
1271 | *p = sl->leased; | 1271 | *p = sl->leased; |
1272 | }; | 1272 | } |
1273 | spin_unlock_bh(&sl->lock); | 1273 | spin_unlock_bh(&sl->lock); |
1274 | return 0; | 1274 | return 0; |
1275 | } | 1275 | } |
diff --git a/drivers/net/sunbmac.c b/drivers/net/sunbmac.c index 34446b6d9a3c..4591fe9bf0b9 100644 --- a/drivers/net/sunbmac.c +++ b/drivers/net/sunbmac.c | |||
@@ -362,7 +362,7 @@ static void bigmac_tcvr_write(struct bigmac *bp, void __iomem *tregs, | |||
362 | default: | 362 | default: |
363 | printk(KERN_ERR "bigmac_tcvr_read: Whoops, no known transceiver type.\n"); | 363 | printk(KERN_ERR "bigmac_tcvr_read: Whoops, no known transceiver type.\n"); |
364 | return; | 364 | return; |
365 | }; | 365 | } |
366 | 366 | ||
367 | idle_transceiver(tregs); | 367 | idle_transceiver(tregs); |
368 | write_tcvr_bit(bp, tregs, 0); | 368 | write_tcvr_bit(bp, tregs, 0); |
@@ -401,7 +401,7 @@ static unsigned short bigmac_tcvr_read(struct bigmac *bp, | |||
401 | default: | 401 | default: |
402 | printk(KERN_ERR "bigmac_tcvr_read: Whoops, no known transceiver type.\n"); | 402 | printk(KERN_ERR "bigmac_tcvr_read: Whoops, no known transceiver type.\n"); |
403 | return 0xffff; | 403 | return 0xffff; |
404 | }; | 404 | } |
405 | 405 | ||
406 | idle_transceiver(tregs); | 406 | idle_transceiver(tregs); |
407 | write_tcvr_bit(bp, tregs, 0); | 407 | write_tcvr_bit(bp, tregs, 0); |
diff --git a/drivers/net/sunhme.c b/drivers/net/sunhme.c index 30826eba1a53..915c5909c7a8 100644 --- a/drivers/net/sunhme.c +++ b/drivers/net/sunhme.c | |||
@@ -855,7 +855,7 @@ static void happy_meal_timer(unsigned long data) | |||
855 | hp->timer_ticks = 0; | 855 | hp->timer_ticks = 0; |
856 | hp->timer_state = asleep; /* foo on you */ | 856 | hp->timer_state = asleep; /* foo on you */ |
857 | break; | 857 | break; |
858 | }; | 858 | } |
859 | 859 | ||
860 | if (restart_timer) { | 860 | if (restart_timer) { |
861 | hp->happy_timer.expires = jiffies + ((12 * HZ)/10); /* 1.2 sec. */ | 861 | hp->happy_timer.expires = jiffies + ((12 * HZ)/10); /* 1.2 sec. */ |
@@ -1488,7 +1488,7 @@ static int happy_meal_init(struct happy_meal *hp) | |||
1488 | HMD(("external, disable MII, ")); | 1488 | HMD(("external, disable MII, ")); |
1489 | hme_write32(hp, bregs + BMAC_XIFCFG, BIGMAC_XCFG_MIIDISAB); | 1489 | hme_write32(hp, bregs + BMAC_XIFCFG, BIGMAC_XCFG_MIIDISAB); |
1490 | break; | 1490 | break; |
1491 | }; | 1491 | } |
1492 | 1492 | ||
1493 | if (happy_meal_tcvr_reset(hp, tregs)) | 1493 | if (happy_meal_tcvr_reset(hp, tregs)) |
1494 | return -EAGAIN; | 1494 | return -EAGAIN; |
@@ -1734,7 +1734,7 @@ static void happy_meal_set_initial_advertisement(struct happy_meal *hp) | |||
1734 | case external: | 1734 | case external: |
1735 | hme_write32(hp, bregs + BMAC_XIFCFG, BIGMAC_XCFG_MIIDISAB); | 1735 | hme_write32(hp, bregs + BMAC_XIFCFG, BIGMAC_XCFG_MIIDISAB); |
1736 | break; | 1736 | break; |
1737 | }; | 1737 | } |
1738 | if (happy_meal_tcvr_reset(hp, tregs)) | 1738 | if (happy_meal_tcvr_reset(hp, tregs)) |
1739 | return; | 1739 | return; |
1740 | 1740 | ||
diff --git a/drivers/net/sunlance.c b/drivers/net/sunlance.c index f88a60fa25f8..386af7bbe678 100644 --- a/drivers/net/sunlance.c +++ b/drivers/net/sunlance.c | |||
@@ -1054,7 +1054,7 @@ static void lance_piocopy_from_skb(void __iomem *dest, unsigned char *src, int l | |||
1054 | } | 1054 | } |
1055 | src = (char *) p16; | 1055 | src = (char *) p16; |
1056 | break; | 1056 | break; |
1057 | }; | 1057 | } |
1058 | if (len >= 2) { | 1058 | if (len >= 2) { |
1059 | u16 val = src[0] << 8 | src[1]; | 1059 | u16 val = src[0] << 8 | src[1]; |
1060 | sbus_writew(val, piobuf); | 1060 | sbus_writew(val, piobuf); |
diff --git a/drivers/net/tun.c b/drivers/net/tun.c index 01b5cfcfa870..97b25533e5fb 100644 --- a/drivers/net/tun.c +++ b/drivers/net/tun.c | |||
@@ -1367,7 +1367,7 @@ static long __tun_chr_ioctl(struct file *file, unsigned int cmd, | |||
1367 | default: | 1367 | default: |
1368 | ret = -EINVAL; | 1368 | ret = -EINVAL; |
1369 | break; | 1369 | break; |
1370 | }; | 1370 | } |
1371 | 1371 | ||
1372 | unlock: | 1372 | unlock: |
1373 | rtnl_unlock(); | 1373 | rtnl_unlock(); |
diff --git a/drivers/net/wimax/i2400m/control.c b/drivers/net/wimax/i2400m/control.c index ac5e2c4e517c..d86e8f31e7fc 100644 --- a/drivers/net/wimax/i2400m/control.c +++ b/drivers/net/wimax/i2400m/control.c | |||
@@ -361,7 +361,7 @@ void i2400m_report_tlv_system_state(struct i2400m *i2400m, | |||
361 | i2400m_state); | 361 | i2400m_state); |
362 | i2400m_reset(i2400m, I2400M_RT_WARM); | 362 | i2400m_reset(i2400m, I2400M_RT_WARM); |
363 | break; | 363 | break; |
364 | }; | 364 | } |
365 | d_fnend(3, dev, "(i2400m %p ss %p [%u]) = void\n", | 365 | d_fnend(3, dev, "(i2400m %p ss %p [%u]) = void\n", |
366 | i2400m, ss, i2400m_state); | 366 | i2400m, ss, i2400m_state); |
367 | } | 367 | } |
@@ -410,7 +410,7 @@ void i2400m_report_tlv_media_status(struct i2400m *i2400m, | |||
410 | default: | 410 | default: |
411 | dev_err(dev, "HW BUG? unknown media status %u\n", | 411 | dev_err(dev, "HW BUG? unknown media status %u\n", |
412 | status); | 412 | status); |
413 | }; | 413 | } |
414 | d_fnend(3, dev, "(i2400m %p ms %p [%u]) = void\n", | 414 | d_fnend(3, dev, "(i2400m %p ms %p [%u]) = void\n", |
415 | i2400m, ms, status); | 415 | i2400m, ms, status); |
416 | } | 416 | } |
@@ -539,7 +539,7 @@ void i2400m_report_hook(struct i2400m *i2400m, | |||
539 | } | 539 | } |
540 | } | 540 | } |
541 | break; | 541 | break; |
542 | }; | 542 | } |
543 | d_fnend(3, dev, "(i2400m %p l3l4_hdr %p size %zu) = void\n", | 543 | d_fnend(3, dev, "(i2400m %p l3l4_hdr %p size %zu) = void\n", |
544 | i2400m, l3l4_hdr, size); | 544 | i2400m, l3l4_hdr, size); |
545 | } | 545 | } |
@@ -582,7 +582,7 @@ void i2400m_msg_ack_hook(struct i2400m *i2400m, | |||
582 | size); | 582 | size); |
583 | } | 583 | } |
584 | break; | 584 | break; |
585 | }; | 585 | } |
586 | } | 586 | } |
587 | 587 | ||
588 | 588 | ||
@@ -754,7 +754,7 @@ struct sk_buff *i2400m_msg_to_dev(struct i2400m *i2400m, | |||
754 | break; | 754 | break; |
755 | default: | 755 | default: |
756 | ack_timeout = HZ; | 756 | ack_timeout = HZ; |
757 | }; | 757 | } |
758 | 758 | ||
759 | if (unlikely(i2400m->trace_msg_from_user)) | 759 | if (unlikely(i2400m->trace_msg_from_user)) |
760 | wimax_msg(&i2400m->wimax_dev, "echo", buf, buf_len, GFP_KERNEL); | 760 | wimax_msg(&i2400m->wimax_dev, "echo", buf, buf_len, GFP_KERNEL); |
diff --git a/drivers/net/wireless/ath/ath9k/init.c b/drivers/net/wireless/ath/ath9k/init.c index 8c795488ebc3..d457cb3bd772 100644 --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c | |||
@@ -308,7 +308,7 @@ int ath_descdma_setup(struct ath_softc *sc, struct ath_descdma *dd, | |||
308 | dd->dd_desc_len += dma_len; | 308 | dd->dd_desc_len += dma_len; |
309 | 309 | ||
310 | ndesc_skipped = ATH_DESC_4KB_BOUND_NUM_SKIPPED(dma_len); | 310 | ndesc_skipped = ATH_DESC_4KB_BOUND_NUM_SKIPPED(dma_len); |
311 | }; | 311 | } |
312 | } | 312 | } |
313 | 313 | ||
314 | /* allocate descriptors */ | 314 | /* allocate descriptors */ |
diff --git a/drivers/net/wireless/hostap/hostap_ap.c b/drivers/net/wireless/hostap/hostap_ap.c index 7e72ac1de49b..231dbd77f5f5 100644 --- a/drivers/net/wireless/hostap/hostap_ap.c +++ b/drivers/net/wireless/hostap/hostap_ap.c | |||
@@ -349,7 +349,7 @@ static int ap_control_proc_read(char *page, char **start, off_t off, | |||
349 | default: | 349 | default: |
350 | policy_txt = "unknown"; | 350 | policy_txt = "unknown"; |
351 | break; | 351 | break; |
352 | }; | 352 | } |
353 | p += sprintf(p, "MAC policy: %s\n", policy_txt); | 353 | p += sprintf(p, "MAC policy: %s\n", policy_txt); |
354 | p += sprintf(p, "MAC entries: %u\n", ap->mac_restrictions.entries); | 354 | p += sprintf(p, "MAC entries: %u\n", ap->mac_restrictions.entries); |
355 | p += sprintf(p, "MAC list:\n"); | 355 | p += sprintf(p, "MAC list:\n"); |
diff --git a/drivers/net/wireless/hostap/hostap_download.c b/drivers/net/wireless/hostap/hostap_download.c index 89d3849abfe0..e73bf739fd9b 100644 --- a/drivers/net/wireless/hostap/hostap_download.c +++ b/drivers/net/wireless/hostap/hostap_download.c | |||
@@ -744,7 +744,7 @@ static int prism2_download(local_info_t *local, | |||
744 | local->dev->name, param->dl_cmd); | 744 | local->dev->name, param->dl_cmd); |
745 | ret = -EINVAL; | 745 | ret = -EINVAL; |
746 | break; | 746 | break; |
747 | }; | 747 | } |
748 | 748 | ||
749 | out: | 749 | out: |
750 | if (ret == 0 && dl && | 750 | if (ret == 0 && dl && |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c index 637d7b62fb56..1004cfc403b1 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c +++ b/drivers/net/wireless/iwlwifi/iwl-agn-lib.c | |||
@@ -932,7 +932,7 @@ static u32 iwlagn_translate_rx_status(struct iwl_priv *priv, u32 decrypt_in) | |||
932 | else | 932 | else |
933 | decrypt_out |= RX_RES_STATUS_DECRYPT_OK; | 933 | decrypt_out |= RX_RES_STATUS_DECRYPT_OK; |
934 | break; | 934 | break; |
935 | }; | 935 | } |
936 | 936 | ||
937 | IWL_DEBUG_RX(priv, "decrypt_in:0x%x decrypt_out = 0x%x\n", | 937 | IWL_DEBUG_RX(priv, "decrypt_in:0x%x decrypt_out = 0x%x\n", |
938 | decrypt_in, decrypt_out); | 938 | decrypt_in, decrypt_out); |
diff --git a/drivers/net/wireless/prism54/islpci_dev.c b/drivers/net/wireless/prism54/islpci_dev.c index 10d91afefa33..2c8cc954d1b6 100644 --- a/drivers/net/wireless/prism54/islpci_dev.c +++ b/drivers/net/wireless/prism54/islpci_dev.c | |||
@@ -946,7 +946,7 @@ islpci_set_state(islpci_private *priv, islpci_state_t new_state) | |||
946 | if (!priv->state_off) | 946 | if (!priv->state_off) |
947 | priv->state = new_state; | 947 | priv->state = new_state; |
948 | break; | 948 | break; |
949 | }; | 949 | } |
950 | #if 0 | 950 | #if 0 |
951 | printk(KERN_DEBUG "%s: state transition %d -> %d (off#%d)\n", | 951 | printk(KERN_DEBUG "%s: state transition %d -> %d (off#%d)\n", |
952 | priv->ndev->name, old_state, new_state, priv->state_off); | 952 | priv->ndev->name, old_state, new_state, priv->state_off); |
diff --git a/drivers/net/wireless/rt2x00/rt2x00firmware.c b/drivers/net/wireless/rt2x00/rt2x00firmware.c index 34beb00c4347..b818a43c4672 100644 --- a/drivers/net/wireless/rt2x00/rt2x00firmware.c +++ b/drivers/net/wireless/rt2x00/rt2x00firmware.c | |||
@@ -79,7 +79,7 @@ static int rt2x00lib_request_firmware(struct rt2x00_dev *rt2x00dev) | |||
79 | ERROR(rt2x00dev, | 79 | ERROR(rt2x00dev, |
80 | "Current firmware does not support detected chipset.\n"); | 80 | "Current firmware does not support detected chipset.\n"); |
81 | goto exit; | 81 | goto exit; |
82 | }; | 82 | } |
83 | 83 | ||
84 | rt2x00dev->fw = fw; | 84 | rt2x00dev->fw = fw; |
85 | 85 | ||