From patchwork Sat Oct 3 19:30:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 7322331 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 18A7E9F1B9 for ; Sat, 3 Oct 2015 19:30:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 471122055C for ; Sat, 3 Oct 2015 19:30:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5FD4C20452 for ; Sat, 3 Oct 2015 19:30:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751021AbbJCTar (ORCPT ); Sat, 3 Oct 2015 15:30:47 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:33834 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750952AbbJCTap (ORCPT ); Sat, 3 Oct 2015 15:30:45 -0400 Received: by wicfx3 with SMTP id fx3so71872590wic.1 for ; Sat, 03 Oct 2015 12:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aCIRJXbUoEaw7XoPszF4/uzYdZZ0Kdc5HFY2lAaLHcE=; b=k84JiW0dk2frxyqDn64vz+ZLqYKaUdoXLrgXsj6tZLSM841Ht8HJP1edapMK0MCAFA TXMG19fVi4ZNVtXBQswoipjEhc6lMzzAnMMI/DxJzNVy8NDH8DjLcDnJLUOXxfv19ClI tvRyJDTfS280omEP2iLIqsvd5cc1DqJggFELSXf0Beyn766YHRSwePGX4OwxSnPBdRO7 ggi1VdquXgoY7WME0Z7eu4MDT1YuxbPrPPDPW3lEYqBrEDOynGCW3P73vJRyaaOzvOYG 0moS2IJDyLyIQJCC4He+1VSgYKbOMEHwqnyZ/brur0YDx8+hwU0b5My25PzjDBeY309N NFyA== X-Received: by 10.180.85.226 with SMTP id k2mr3862445wiz.67.1443900644476; Sat, 03 Oct 2015 12:30:44 -0700 (PDT) Received: from tipsey.3.home (188.30.130.225.threembb.co.uk. [188.30.130.225]) by smtp.gmail.com with ESMTPSA id uq5sm17886714wjc.3.2015.10.03.12.30.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 03 Oct 2015 12:30:44 -0700 (PDT) From: Malcolm Priestley To: gregkh@linuxfoundation.org Cc: linux-wireless@vger.kernel.org, Malcolm Priestley Subject: [PATCH 5/6] staging: vt6655: device_main replace pTDInfo with td_info. Date: Sat, 3 Oct 2015 20:30:26 +0100 Message-Id: <1443900627-2924-5-git-send-email-tvboxspy@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1443900627-2924-1-git-send-email-tvboxspy@gmail.com> References: <1443900627-2924-1-git-send-email-tvboxspy@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Removing camel case. Signed-off-by: Malcolm Priestley --- drivers/staging/vt6655/device_main.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 7e76176..ff329bd 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -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)