From patchwork Sun May 31 09:35:22 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 6515511 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7947CC0433 for ; Sun, 31 May 2015 09:36:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A4E672042C for ; Sun, 31 May 2015 09:36:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BC7D020489 for ; Sun, 31 May 2015 09:36:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758078AbbEaJgD (ORCPT ); Sun, 31 May 2015 05:36:03 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:37507 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757925AbbEaJf7 (ORCPT ); Sun, 31 May 2015 05:35:59 -0400 Received: by wifw1 with SMTP id w1so70931257wif.0 for ; Sun, 31 May 2015 02:35:58 -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=XvJmcYwqXCEtYH14IfPhAs/TcMHaTTvDokAeTk2o1NY=; b=o0kJ+3t7kxJkSC16LkhOAavO0i5jf6+6tdLKb83DVQLC0xRq9Y/JUsAZqCUs1b9anL Q70Jd+7hswUBUybabqSKp0eU50S3kmG8z0A40TEZ97JPVre6FM5Cjrgp5hSwkbG9J9U7 bf32vHtdJXwLoMQIVFDevrBhPVMmYJsep8B/JwcHZ3YycVExWGcP0H5f13t/D/uroLgQ B4h1MLrBtvRoWZXjEfSdiXBjChiEHoUbTqNWiyuWmzlBp+4RX7QahYgMuoQvszpF7rV6 FpMLoOtjP0RfMVVtrGil8CFD7/UiNhAv/OsGuRNXrzKU8mIYSGCKxa8CzNZqN3z7w0Lg vZMA== X-Received: by 10.194.249.196 with SMTP id yw4mr30510772wjc.144.1433064958064; Sun, 31 May 2015 02:35:58 -0700 (PDT) Received: from tipsey.3.home (188.31.131.59.threembb.co.uk. [188.31.131.59]) by mx.google.com with ESMTPSA id t17sm11193426wij.1.2015.05.31.02.35.56 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 31 May 2015 02:35:57 -0700 (PDT) From: Malcolm Priestley To: gregkh@linuxfoundation.org Cc: linux-wireless@vger.kernel.org, Malcolm Priestley Subject: [PATCH 3/9] staging: vt6655: Remove call to STAvUpdateIsrStatCounter. Date: Sun, 31 May 2015 10:35:22 +0100 Message-Id: <1433064928-2139-3-git-send-email-tvboxspy@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1433064928-2139-1-git-send-email-tvboxspy@gmail.com> References: <1433064928-2139-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 This function does not provide any data to users. Signed-off-by: Malcolm Priestley --- drivers/staging/vt6655/device.h | 2 -- drivers/staging/vt6655/device_main.c | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index a49c6c6..62e07f5 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -286,8 +286,6 @@ struct vnt_private { unsigned char abyCurrentNetAddr[ETH_ALEN]; __aligned(2) bool bLinkPass; /* link status: OK or fail */ - /* Adapter statistics */ - SStatCounter scStatistic; /* 802.11 counter */ SDot11Counters s802_11Counter; diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index c27f5ef..31f4ec7 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -1100,7 +1100,6 @@ static irqreturn_t device_intr(int irq, void *dev_instance) * update ISR counter */ while (pDevice->dwIsr && pDevice->vif) { - STAvUpdateIsrStatCounter(&pDevice->scStatistic, pDevice->dwIsr); MACvWriteISR(pDevice->PortOffset, pDevice->dwIsr); if (pDevice->dwIsr & ISR_FETALERR) {