aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2015-04-20 17:30:13 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2015-04-20 17:30:13 +0000
commitd8edb414c9f0157ecb28a549aa8b38cffef77c9d (patch)
treee0ece1fe6a612797442e98d7b18553193231dd67 /sys/dev
parent32e85f856a41b58c92fdba2554c8d8b005670e52 (diff)
downloadsrc-d8edb414c9f0157ecb28a549aa8b38cffef77c9d.tar.gz
src-d8edb414c9f0157ecb28a549aa8b38cffef77c9d.zip
Remove unused variable.
Differential Revision: D2333 Reviewed by: royger
Notes
Notes: svn path=/head/; revision=281774
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/xen/netfront/netfront.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/xen/netfront/netfront.c b/sys/dev/xen/netfront/netfront.c
index f65e29c24f71..27900ba69bb7 100644
--- a/sys/dev/xen/netfront/netfront.c
+++ b/sys/dev/xen/netfront/netfront.c
@@ -1472,7 +1472,6 @@ xn_assemble_tx_request(struct netfront_info *sc, struct mbuf *m_head)
struct ifnet *ifp;
struct mbuf *m;
u_int nfrags;
- netif_extra_info_t *extra;
int otherend_id;
ifp = sc->xn_ifp;
@@ -1546,7 +1545,6 @@ xn_assemble_tx_request(struct netfront_info *sc, struct mbuf *m_head)
* of fragments or hit the end of the mbuf chain.
*/
m = m_head;
- extra = NULL;
otherend_id = xenbus_get_otherend_id(sc->xbdev);
for (m = m_head; m; m = m->m_next) {
netif_tx_request_t *tx;