staging: vt6655: device_main replace pTDInfo with td_info.
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 3 Oct 2015 19:30:26 +0000 (20:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 08:54:51 +0000 (09:54 +0100)
Removing camel case.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6655/device_main.c

index 7e76176adbfede333ad8d2ba4e115bdc96ea8096..ff329bde19c212996ef4303704df10d4da977a14 100644 (file)
@@ -678,9 +678,9 @@ static void device_free_td0_ring(struct vnt_private *priv)
 
        for (i = 0; i < priv->sOpts.nTxDescs[0]; i++) {
                struct vnt_tx_desc *desc = &priv->apTD0Rings[i];
-               struct vnt_td_info *pTDInfo = desc->td_info;
+               struct vnt_td_info *td_info = desc->td_info;
 
-               dev_kfree_skb(pTDInfo->skb);
+               dev_kfree_skb(td_info->skb);
                kfree(desc->td_info);
        }
 }
@@ -691,9 +691,9 @@ static void device_free_td1_ring(struct vnt_private *priv)
 
        for (i = 0; i < priv->sOpts.nTxDescs[1]; i++) {
                struct vnt_tx_desc *desc = &priv->apTD1Rings[i];
-               struct vnt_td_info *pTDInfo = desc->td_info;
+               struct vnt_td_info *td_info = desc->td_info;
 
-               dev_kfree_skb(pTDInfo->skb);
+               dev_kfree_skb(td_info->skb);
                kfree(desc->td_info);
        }
 }
@@ -892,14 +892,14 @@ static void device_error(struct vnt_private *priv, unsigned short status)
 static void device_free_tx_buf(struct vnt_private *priv,
                               struct vnt_tx_desc *desc)
 {
-       struct vnt_td_info *pTDInfo = desc->td_info;
-       struct sk_buff *skb = pTDInfo->skb;
+       struct vnt_td_info *td_info = desc->td_info;
+       struct sk_buff *skb = td_info->skb;
 
        if (skb)
                ieee80211_tx_status_irqsafe(priv->hw, skb);
 
-       pTDInfo->skb = NULL;
-       pTDInfo->flags = 0;
+       td_info->skb = NULL;
+       td_info->flags = 0;
 }
 
 static void vnt_check_bb_vga(struct vnt_private *priv)