From owner-svn-src-all@FreeBSD.ORG Mon May 18 06:13:57 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53692106564A; Mon, 18 May 2009 06:13:57 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 37A9B8FC19; Mon, 18 May 2009 06:13:57 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4I6DuYi051712; Mon, 18 May 2009 06:13:56 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4I6DuiE051711; Mon, 18 May 2009 06:13:56 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <200905180613.n4I6DuiE051711@svn.freebsd.org> From: Pyun YongHyeon Date: Mon, 18 May 2009 06:13:56 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r192291 - head/sys/dev/nge X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2009 06:13:57 -0000 Author: yongari Date: Mon May 18 06:13:56 2009 New Revision: 192291 URL: http://svn.freebsd.org/changeset/base/192291 Log: Remove return statement at the end of functions that return void. Modified: head/sys/dev/nge/if_nge.c Modified: head/sys/dev/nge/if_nge.c ============================================================================== --- head/sys/dev/nge/if_nge.c Mon May 18 06:09:10 2009 (r192290) +++ head/sys/dev/nge/if_nge.c Mon May 18 06:13:56 2009 (r192291) @@ -250,8 +250,6 @@ nge_delay(struct nge_softc *sc) for (idx = (300 / 33) + 1; idx > 0; idx--) CSR_READ_4(sc, NGE_CSR); - - return; } static void @@ -276,8 +274,6 @@ nge_eeprom_idle(struct nge_softc *sc) SIO_CLR(NGE_MEAR_EE_CSEL); nge_delay(sc); CSR_WRITE_4(sc, NGE_MEAR, 0x00000000); - - return; } /* @@ -305,8 +301,6 @@ nge_eeprom_putbyte(struct nge_softc *sc, SIO_CLR(NGE_MEAR_EE_CLK); nge_delay(sc); } - - return; } /* @@ -350,8 +344,6 @@ nge_eeprom_getword(struct nge_softc *sc, nge_eeprom_idle(sc); *dest = word; - - return; } /* @@ -371,8 +363,6 @@ nge_read_eeprom(struct nge_softc *sc, ca else *ptr = word; } - - return; } /* @@ -391,8 +381,6 @@ nge_mii_sync(struct nge_softc *sc) SIO_CLR(NGE_MEAR_MII_CLK); DELAY(1); } - - return; } /* @@ -635,7 +623,6 @@ nge_miibus_statchg(device_t dev) NGE_CLRBIT(sc, NGE_CFG, NGE_CFG_MODE_1000); } } - return; } static void @@ -695,8 +682,6 @@ nge_setmulti(struct nge_softc *sc) IF_ADDR_UNLOCK(ifp); CSR_WRITE_4(sc, NGE_RXFILT_CTL, filtsave); - - return; } static void @@ -723,8 +708,6 @@ nge_reset(struct nge_softc *sc) */ CSR_WRITE_4(sc, NGE_CLKRUN, NGE_CLKRUN_PMESTS); CSR_WRITE_4(sc, NGE_CLKRUN, 0); - - return; } /* @@ -1198,8 +1181,6 @@ nge_rxeof(struct nge_softc *sc) } sc->nge_cdata.nge_rx_prod = i; - - return; } /* @@ -1260,8 +1241,6 @@ nge_txeof(struct nge_softc *sc) if (idx == sc->nge_cdata.nge_tx_prod) ifp->if_timer = 0; - - return; } static void @@ -1306,8 +1285,6 @@ nge_tick(void *xsc) } } callout_reset(&sc->nge_stat_ch, hz, nge_tick, sc); - - return; } #ifdef DEVICE_POLLING @@ -1447,8 +1424,6 @@ nge_intr(void *arg) & ~NGE_GPIO_GP3_OUT); NGE_UNLOCK(sc); - - return; } /* @@ -1578,8 +1553,6 @@ nge_start_locked(struct ifnet *ifp) * Set a timeout in case the chip goes out to lunch. */ ifp->if_timer = 5; - - return; } static void @@ -1775,8 +1748,6 @@ nge_init_locked(struct nge_softc *sc) ifp->if_drv_flags |= IFF_DRV_RUNNING; ifp->if_drv_flags &= ~IFF_DRV_OACTIVE; - - return; } /* @@ -1896,8 +1867,6 @@ nge_ifmedia_sts(struct ifnet *ifp, struc ifmr->ifm_status = mii->mii_media_status; } NGE_UNLOCK(sc); - - return; } static int @@ -2032,8 +2001,6 @@ nge_watchdog(struct ifnet *ifp) nge_start_locked(ifp); NGE_UNLOCK(sc); - - return; } /* @@ -2095,8 +2062,6 @@ nge_stop(struct nge_softc *sc) sizeof(sc->nge_ldata->nge_tx_list)); ifp->if_drv_flags &= ~(IFF_DRV_RUNNING | IFF_DRV_OACTIVE); - - return; } /*