Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2010 18:41:59 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r212105 - head/sys/dev/sis
Message-ID:  <201009011841.o81IfxaQ076029@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Wed Sep  1 18:41:59 2010
New Revision: 212105
URL: http://svn.freebsd.org/changeset/base/212105

Log:
  Nuke unnecessary return at the end of function.

Modified:
  head/sys/dev/sis/if_sis.c

Modified: head/sys/dev/sis/if_sis.c
==============================================================================
--- head/sys/dev/sis/if_sis.c	Wed Sep  1 18:39:35 2010	(r212104)
+++ head/sys/dev/sis/if_sis.c	Wed Sep  1 18:41:59 2010	(r212105)
@@ -393,7 +393,6 @@ sis_read_cmos(struct sis_softc *sc, devi
 	}
 
 	pci_write_config(bridge, 0x48, reg & ~0x40, 1);
-	return;
 }
 
 static void
@@ -418,7 +417,6 @@ sis_read_mac(struct sis_softc *sc, devic
 
 	CSR_WRITE_4(sc, SIS_RXFILT_CTL, filtsave);
 	CSR_WRITE_4(sc, SIS_CSR, csrsave);
-	return;
 }
 #endif
 
@@ -789,8 +787,6 @@ sis_setmulti_ns(struct sis_softc *sc)
 	if_maddr_runlock(ifp);
 
 	CSR_WRITE_4(sc, SIS_RXFILT_CTL, filtsave);
-
-	return;
 }
 
 static void
@@ -876,8 +872,6 @@ sis_reset(struct sis_softc *sc)
 		CSR_WRITE_4(sc, NS_CLKRUN, NS_CLKRUN_PMESTS);
 		CSR_WRITE_4(sc, NS_CLKRUN, 0);
 	}
-
-	return;
 }
 
 /*
@@ -1538,8 +1532,6 @@ sis_txeof(struct sis_softc *sc)
 	}
 
 	sc->sis_watchdog_timer = (sc->sis_tx_cnt == 0) ? 0 : 5;
-
-	return;
 }
 
 static void



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009011841.o81IfxaQ076029>