Page MenuHomeFreeBSD

D3556.id.diff
No OneTemporary

D3556.id.diff

Index: head/sys/dev/virtio/network/if_vtnet.c
===================================================================
--- head/sys/dev/virtio/network/if_vtnet.c
+++ head/sys/dev/virtio/network/if_vtnet.c
@@ -1642,14 +1642,12 @@
vtnet_rxq_merged_eof(struct vtnet_rxq *rxq, struct mbuf *m_head, int nbufs)
{
struct vtnet_softc *sc;
- struct ifnet *ifp;
struct virtqueue *vq;
struct mbuf *m, *m_tail;
int len;
sc = rxq->vtnrx_sc;
vq = rxq->vtnrx_vq;
- ifp = sc->vtnet_ifp;
m_tail = m_head;
while (--nbufs > 0) {
@@ -3645,10 +3643,8 @@
static void
vtnet_set_tx_intr_threshold(struct vtnet_softc *sc)
{
- device_t dev;
int size, thresh;
- dev = sc->vtnet_dev;
size = virtqueue_size(sc->vtnet_txqs[0].vtntx_vq);
/*

File Metadata

Mime Type
text/plain
Expires
Fri, Aug 28, 7:34 AM (12 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37443346
Default Alt Text
D3556.id.diff (740 B)

Event Timeline