aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBryan Venteicher <bryanv@FreeBSD.org>2014-06-09 02:39:05 +0000
committerBryan Venteicher <bryanv@FreeBSD.org>2014-06-09 02:39:05 +0000
commit75f4c886770478a717e10a8d7e108683f0f37e10 (patch)
tree1d7ff7309fd8218be1d09eed1d35edbc8a64f21e /sys
parentd1ee2d7d105bc6754ba143c146cacaaf3def13d7 (diff)
downloadsrc-75f4c886770478a717e10a8d7e108683f0f37e10.tar.gz
src-75f4c886770478a717e10a8d7e108683f0f37e10.zip
Remove an unnecessary variable reassignment
And it would be bad if 'm' was different from '*m0' at this point, since we've already populated the SG list. MFC after: 3 days
Notes
Notes: svn path=/head/; revision=267252
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/vmware/vmxnet3/if_vmx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vmware/vmxnet3/if_vmx.c b/sys/dev/vmware/vmxnet3/if_vmx.c
index cb9214fd85c0..2d95978cf153 100644
--- a/sys/dev/vmware/vmxnet3/if_vmx.c
+++ b/sys/dev/vmware/vmxnet3/if_vmx.c
@@ -2757,7 +2757,7 @@ vmxnet3_txq_encap(struct vmxnet3_txqueue *txq, struct mbuf **m0)
}
}
- txr->vxtxr_txbuf[txr->vxtxr_head].vtxb_m = m = *m0;
+ txr->vxtxr_txbuf[txr->vxtxr_head].vtxb_m = m;
sop = &txr->vxtxr_txd[txr->vxtxr_head];
gen = txr->vxtxr_gen ^ 1; /* Owned by cpu (yet) */