summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2009-11-13 23:50:31 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2009-11-13 23:50:31 +0000
commitb677e4e1dfa252811f23ceb27126c2140e8c59d4 (patch)
tree04a88564bd30f27b08af138365301ac9f021f790 /sys/dev/ic
parent228cafc1c587e78608aed50c253d69e89c15e25e (diff)
Remove an unnecessary assignment. From NetBSD via Brad.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/re.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c
index e6cbd4bf963..36293124453 100644
--- a/sys/dev/ic/re.c
+++ b/sys/dev/ic/re.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: re.c,v 1.114 2009/08/09 11:40:58 deraadt Exp $ */
+/* $OpenBSD: re.c,v 1.115 2009/11/13 23:50:30 sthen Exp $ */
/* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -1800,12 +1800,9 @@ re_encap(struct rl_softc *sc, struct mbuf *m, int *idx)
BUS_DMASYNC_PREREAD|BUS_DMASYNC_PREWRITE);
}
if (pad) {
- bus_addr_t paddaddr;
-
d = &sc->rl_ldata.rl_tx_list[curidx];
d->rl_vlanctl = htole32(vlanctl);
- paddaddr = RL_TXPADDADDR(sc);
- re_set_bufaddr(d, paddaddr);
+ re_set_bufaddr(d, RL_TXPADDADDR(sc));
cmdstat = csum_flags |
RL_TDESC_CMD_OWN | RL_TDESC_CMD_EOF |
(RL_IP4CSUMTX_PADLEN + 1 - m->m_pkthdr.len);