wil6210: fix double definition of 'ctx'
[deliverable/linux.git] / drivers / net / wireless / ath / wil6210 / txrx.c
index af4b93e4beb5e80e9412785d60a17ebbe95e790a..d3467943d39db60972bae0ce0413b4e5eaa04585 100644 (file)
@@ -1108,8 +1108,10 @@ int wil_tx_complete(struct wil6210_priv *wil, int ringid)
                while (vring->swtail != new_swtail) {
                        struct vring_tx_desc dd, *d = ⅆ
                        u16 dmalen;
-                       struct wil_ctx *ctx = &vring->ctx[vring->swtail];
-                       struct sk_buff *skb = ctx->skb;
+                       struct sk_buff *skb;
+
+                       ctx = &vring->ctx[vring->swtail];
+                       skb = ctx->skb;
                        _d = &vring->va[vring->swtail].tx;
 
                        *d = *_d;
This page took 0.028893 seconds and 5 git commands to generate.