Remove extraneous semicolons after switch and conditional statements. Signed-off-by: Stephen Hemminger --- a/drivers/net/tg3.c 2008-04-16 14:34:29.000000000 -0700 +++ b/drivers/net/tg3.c 2008-04-16 14:36:14.000000000 -0700 @@ -1480,7 +1480,7 @@ static int tg3_set_power_state(struct tg "requested.\n", tp->dev->name, state); return -EINVAL; - }; + } power_control |= PCI_PM_CTRL_PME_ENABLE; @@ -1841,7 +1841,7 @@ static void tg3_aux_stat_to_speed_duplex *speed = SPEED_INVALID; *duplex = DUPLEX_INVALID; break; - }; + } } static void tg3_phy_copper_begin(struct tg3 *tp) @@ -1953,7 +1953,7 @@ static void tg3_phy_copper_begin(struct case SPEED_1000: bmcr |= TG3_BMCR_SPEED1000; break; - }; + } if (tp->link_config.duplex == DUPLEX_FULL) bmcr |= BMCR_FULLDPLX; @@ -2649,7 +2649,7 @@ static int tg3_fiber_aneg_smachine(struc default: ret = ANEG_FAILED; break; - }; + } return ret; } @@ -3491,7 +3491,7 @@ static int tg3_alloc_rx_skb(struct tg3 * default: return -EINVAL; - }; + } /* Do not overwrite any of the map or rp information * until we are sure we can commit to a new buffer. @@ -3551,7 +3551,7 @@ static void tg3_recycle_rx(struct tg3 *t default: return; - }; + } dest_map->skb = src_map->skb; pci_unmap_addr_set(dest_map, mapping, @@ -4880,7 +4880,7 @@ static int tg3_stop_block(struct tg3 *tp default: break; - }; + } } val = tr32(ofs); @@ -5122,7 +5122,7 @@ static void tg3_write_sig_pre_reset(stru default: break; - }; + } } if (kind == RESET_KIND_INIT || @@ -5147,7 +5147,7 @@ static void tg3_write_sig_post_reset(str default: break; - }; + } } if (kind == RESET_KIND_SHUTDOWN) @@ -5176,7 +5176,7 @@ static void tg3_write_sig_legacy(struct default: break; - }; + } } } @@ -7203,7 +7203,7 @@ static int tg3_reset_hw(struct tg3 *tp, default: break; - }; + } if (tp->tg3_flags3 & TG3_FLG3_ENABLE_APE) /* Write our heartbeat update interval to APE. */ @@ -10794,7 +10794,7 @@ static void __devinit tg3_get_eeprom_hw_ LED_CTRL_MODE_PHY_2); break; - }; + } if ((GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5700 || GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5701) && @@ -12055,7 +12055,7 @@ static u32 __devinit tg3_calc_dma_bndry( val |= (DMA_RWCTRL_READ_BNDRY_384_PCIX | DMA_RWCTRL_WRITE_BNDRY_384_PCIX); break; - }; + } } else if (tp->tg3_flags2 & TG3_FLG2_PCI_EXPRESS) { switch (cacheline_size) { case 16: @@ -12072,7 +12072,7 @@ static u32 __devinit tg3_calc_dma_bndry( val &= ~DMA_RWCTRL_WRITE_BNDRY_DISAB_PCIE; val |= DMA_RWCTRL_WRITE_BNDRY_128_PCIE; break; - }; + } } else { switch (cacheline_size) { case 16: @@ -12116,7 +12116,7 @@ static u32 __devinit tg3_calc_dma_bndry( val |= (DMA_RWCTRL_READ_BNDRY_1024 | DMA_RWCTRL_WRITE_BNDRY_1024); break; - }; + } } out: @@ -12476,7 +12476,7 @@ static char * __devinit tg3_phy_string(s case PHY_ID_BCM8002: return "8002/serdes"; case 0: return "serdes"; default: return "unknown"; - }; + } } static char * __devinit tg3_bus_string(struct tg3 *tp, char *str) -- -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html