summaryrefslogtreecommitdiffstats
path: root/drivers/net/vmxnet3
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2011-06-13 05:48:30 +0000
committerDavid S. Miller <davem@conan.davemloft.net>2011-06-13 18:31:09 -0400
commitb7c7deeb4c77538577f0b6a724f10ce8693eb648 (patch)
tree718672c8cbb7a2be28b388cbaaad6bee8a20f1fe /drivers/net/vmxnet3
parentbf0239a98a7378c6a1a6b01701ec5e27591f52ce (diff)
downloadtalos-op-linux-b7c7deeb4c77538577f0b6a724f10ce8693eb648.tar.gz
talos-op-linux-b7c7deeb4c77538577f0b6a724f10ce8693eb648.zip
vmxnet3: remove unused variable
While doing some backporting I noticed that vmxnet3 had a variable that was set but never used. Get rid of it, and stop the compiler from griping Signed-off-by: Neil Horman <nhorman@tuxdriver.com> CC: "VMware, Inc." <pv-drivers@vmware.com> CC: "David S. Miller" <davem@davemloft.net> Signed-off-by: Bhavesh Davda <bhavesh@vmware.com> Signed-off-by: David S. Miller <davem@conan.davemloft.net>
Diffstat (limited to 'drivers/net/vmxnet3')
-rw-r--r--drivers/net/vmxnet3/vmxnet3_drv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/vmxnet3/vmxnet3_drv.c b/drivers/net/vmxnet3/vmxnet3_drv.c
index cea1b3c2953a..33097ec1c514 100644
--- a/drivers/net/vmxnet3/vmxnet3_drv.c
+++ b/drivers/net/vmxnet3/vmxnet3_drv.c
@@ -405,10 +405,8 @@ vmxnet3_tq_cleanup(struct vmxnet3_tx_queue *tq,
while (tq->tx_ring.next2comp != tq->tx_ring.next2fill) {
struct vmxnet3_tx_buf_info *tbi;
- union Vmxnet3_GenericDesc *gdesc;
tbi = tq->buf_info + tq->tx_ring.next2comp;
- gdesc = tq->tx_ring.base + tq->tx_ring.next2comp;
vmxnet3_unmap_tx_buf(tbi, adapter->pdev);
if (tbi->skb) {
OpenPOWER on IntegriCloud