aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vmxnet3/vmxnet3_int.h
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2013-01-15 07:28:27 +0000
committerDavid S. Miller <davem@davemloft.net>2013-01-16 14:40:49 -0500
commit69b9a712661cbd43bc9c20575c947ddb34314ac9 (patch)
tree034aa615f411b5a5f179955610d9f340a83c171c /drivers/net/vmxnet3/vmxnet3_int.h
parentvmxnet3: use netdev_alloc_skb_ip_align (diff)
downloadlinux-dev-69b9a712661cbd43bc9c20575c947ddb34314ac9.tar.xz
linux-dev-69b9a712661cbd43bc9c20575c947ddb34314ac9.zip
vmxnet3: remove unnecessary bookkeeping
The uncommitted[] array was set but never used except in a debug message. Remove it. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vmxnet3/vmxnet3_int.h')
-rw-r--r--drivers/net/vmxnet3/vmxnet3_int.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/vmxnet3/vmxnet3_int.h b/drivers/net/vmxnet3/vmxnet3_int.h
index fc46a81ad538..55465ed5835b 100644
--- a/drivers/net/vmxnet3/vmxnet3_int.h
+++ b/drivers/net/vmxnet3/vmxnet3_int.h
@@ -276,8 +276,6 @@ struct vmxnet3_rx_queue {
struct vmxnet3_rx_ctx rx_ctx;
u32 qid; /* rqID in RCD for buffer from 1st ring */
u32 qid2; /* rqID in RCD for buffer from 2nd ring */
- u32 uncommitted[2]; /* # of buffers allocated since last RXPROD
- * update */
struct vmxnet3_rx_buf_info *buf_info[2];
struct Vmxnet3_RxQueueCtrl *shared;
struct vmxnet3_rq_driver_stats stats;