projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf0239a
)
vmxnet3: remove unused variable
author
Neil Horman
<
[email protected]
>
Mon, 13 Jun 2011 05:48:30 +0000
(
05:48
+0000)
committer
David S. Miller
<
[email protected]
>
Mon, 13 Jun 2011 22:31:09 +0000
(18:31 -0400)
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 <
[email protected]
>
CC: "VMware, Inc." <
[email protected]
>
CC: "David S. Miller" <
[email protected]
>
Signed-off-by: Bhavesh Davda <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/vmxnet3/vmxnet3_drv.c
patch
|
blob
|
history
diff --git
a/drivers/net/vmxnet3/vmxnet3_drv.c
b/drivers/net/vmxnet3/vmxnet3_drv.c
index cea1b3c2953a5cb19d60bd10c123f3bcbf20d0f5..33097ec1c514c821d9da1c88da3c965c0508dafe 100644
(file)
--- 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) {