summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_rl.c
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1998-11-20 19:26:37 +0000
committerwpaul <wpaul@FreeBSD.org>1998-11-20 19:26:37 +0000
commit2981ab6dbfdd4fcbd6fbe8927551a63ba573848a (patch)
tree0c987ce2aa11d375f8e42d6761001f10cb0e56c8 /sys/pci/if_rl.c
parent50153b4544af401ad0c6be515a9f455ea2b79896 (diff)
downloadFreeBSD-src-2981ab6dbfdd4fcbd6fbe8927551a63ba573848a.zip
FreeBSD-src-2981ab6dbfdd4fcbd6fbe8927551a63ba573848a.tar.gz
Add missing return statement to rl_phy_writereg(). This bug didn't actually
hurt anything, but it's still a bug. Pointed out by: Jason Wright <jason@thought.net>
Diffstat (limited to 'sys/pci/if_rl.c')
-rw-r--r--sys/pci/if_rl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index 33d676a..df61a25 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_rl.c,v 1.14 1998/11/18 20:27:28 wpaul Exp $
+ * $Id: if_rl.c,v 1.2 1998/11/18 21:03:57 wpaul Exp $
*/
/*
@@ -133,7 +133,7 @@
#ifndef lint
static char rcsid[] =
- "$Id: if_rl.c,v 1.14 1998/11/18 20:27:28 wpaul Exp $";
+ "$Id: if_rl.c,v 1.2 1998/11/18 21:03:57 wpaul Exp $";
#endif
/*
@@ -578,6 +578,7 @@ static void rl_phy_writereg(sc, reg, data)
return;
}
CSR_WRITE_2(sc, rl8139_reg, data);
+ return;
}
bzero((char *)&frame, sizeof(frame));
OpenPOWER on IntegriCloud