From patchwork Fri Mar 8 15:25:09 2019
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Piotr Figiel
X-Patchwork-Id: 10845053
X-Patchwork-Delegate: kvalo@adurom.com
Return-Path:
Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org
[172.30.200.125])
by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 6FF641669
for ;
Fri, 8 Mar 2019 15:25:48 +0000 (UTC)
Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1])
by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 595C92521E
for ;
Fri, 8 Mar 2019 15:25:48 +0000 (UTC)
Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486)
id 4CB242E115; Fri, 8 Mar 2019 15:25:48 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
pdx-wl-mail.web.codeaurora.org
X-Spam-Level:
X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED,
DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1
Received: from vger.kernel.org (vger.kernel.org [209.132.180.67])
by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EB5452521E
for ;
Fri, 8 Mar 2019 15:25:47 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S1726412AbfCHPZr (ORCPT
);
Fri, 8 Mar 2019 10:25:47 -0500
Received: from mail-eopbgr100054.outbound.protection.outlook.com
([40.107.10.54]:14944
"EHLO GBR01-LO2-obe.outbound.protection.outlook.com"
rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP
id S1726279AbfCHPZq (ORCPT );
Fri, 8 Mar 2019 10:25:46 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=camlinlimited.onmicrosoft.com; s=selector1-camlintechnologies-com;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=iSog5YJ+q6BjwGhcnwT9lbkTmoNuFHhHL8RnzcTNavw=;
b=SP1k+OdnN9MKcYRr/8AoEigTJck2RhESnY491FAE81bPpwFtQC6vMmAN8/D5W5p4YmlhEkLKH5NDDEX8sqeUEExLZ8SDhQVqjidN/gbexgqnrPxKBumbB61plUqapXjxCJcCv2IwzbdBVMbp1ywGCrrw8ASb51id3+tUqb+Mxqc=
Received: from LNXP123MB2185.GBRP123.PROD.OUTLOOK.COM (20.179.129.83) by
LNXP123MB2106.GBRP123.PROD.OUTLOOK.COM (20.179.129.11) with Microsoft SMTP
Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
15.20.1686.18; Fri, 8 Mar 2019 15:25:09 +0000
Received: from LNXP123MB2185.GBRP123.PROD.OUTLOOK.COM
([fe80::396a:e27e:d5dd:6bf0]) by LNXP123MB2185.GBRP123.PROD.OUTLOOK.COM
([fe80::396a:e27e:d5dd:6bf0%5]) with mapi id 15.20.1686.018; Fri, 8 Mar 2019
15:25:09 +0000
From: Piotr Figiel
To: "linux-wireless@vger.kernel.org" ,
"arend.vanspriel@broadcom.com" ,
"kvalo@codeaurora.org"
CC: "franky.lin@broadcom.com" ,
"hante.meuleman@broadcom.com" ,
"chi-hsien.lin@cypress.com" ,
"wright.feng@cypress.com" ,
"brcm80211-dev-list@cypress.com" ,
Pawel Lenkow ,
Lech Perczak , =?iso-8859-2?q?Krzysztof_D?=
=?iso-8859-2?q?robi=F1ski?= ,
Piotr Figiel
Subject: [PATCH 3/3] brcmfmac: remove unused variable i from brcmf_usb_free_q
Thread-Topic: [PATCH 3/3] brcmfmac: remove unused variable i from
brcmf_usb_free_q
Thread-Index: AQHU1cMd5vOYZC5mAU2ccGUUUcGOeg==
Date: Fri, 8 Mar 2019 15:25:09 +0000
Message-ID:
<1552058658-23250-4-git-send-email-p.figiel@camlintechnologies.com>
References:
<1552058658-23250-1-git-send-email-p.figiel@camlintechnologies.com>
In-Reply-To:
<1552058658-23250-1-git-send-email-p.figiel@camlintechnologies.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [95.143.242.242]
x-clientproxiedby: DB6PR07CA0010.eurprd07.prod.outlook.com
(2603:10a6:6:2d::20) To LNXP123MB2185.GBRP123.PROD.OUTLOOK.COM
(2603:10a6:600:dc::19)
authentication-results: spf=none (sender IP is )
smtp.mailfrom=p.figiel@camlintechnologies.com;
x-ms-exchange-messagesentrepresentingtype: 1
x-mailer: git-send-email 2.7.4
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 7882a4d4-5f90-4408-6a9e-08d6a3da402f
x-microsoft-antispam:
BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(2017052603328)(7153060)(7193020);SRVR:LNXP123MB2106;
x-ms-traffictypediagnostic: LNXP123MB2106:
x-microsoft-exchange-diagnostics: =?iso-8859-2?q?1=3BLNXP123MB2106=3B23=3Aax?=
=?iso-8859-2?q?FqT5Cq98r8h8zWMg9dIXizT4oG1d4UH/ny+XxnkZL3gtvys6MhV/X9hVmEqE?=
=?iso-8859-2?q?cAAiWymCWR/B6+RuUOLAbZRF+QPihcFtFLGY4zznV/IrRzbrbNVVIYhflRdt?=
=?iso-8859-2?q?z0pnKqXHNP4/hnnBOGgsK3StRPqtctBFqz/+N7X2srvgef69CrHn/tH8K3K2?=
=?iso-8859-2?q?HWDATWFd/BD/5xTTQEpxf1gu7LP4D7QTPmB0OpIOB2V1ecOkcukk66425zB4?=
=?iso-8859-2?q?2rfbmm/wL6py+kwqtcUdNhmLqrfNfv1ohmoZXsGkZRi8cakfXozUWUl7Av3v?=
=?iso-8859-2?q?sPuZSmvvJ5ryVaOtskhQMXfS0FmOJH7nnTte3F8bD7YHz93EKGsYikefLvAq?=
=?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tyHCtNCBlMNgf4NfrN9JAJSXUM1qFMmJVEWbxYNOehG8e1lr8a?=
=?iso-8859-2?q?uPUYU0or0WIkzJ1fWY?=
x-microsoft-antispam-prvs:
x-forefront-prvs: 0970508454
x-forefront-antispam-report:
SFV:NSPM;SFS:(10009020)(376002)(136003)(346002)(396003)(366004)(39850400004)(189003)(199004)(8676002)(305945005)(97736004)(105586002)(486006)(99286004)(81166006)(3846002)(14454004)(81156014)(6116002)(476003)(106356001)(102836004)(6506007)(66066001)(186003)(6512007)(36756003)(26005)(110136005)(54906003)(6486002)(5660300002)(52116002)(4744005)(446003)(2616005)(11346002)(386003)(2906002)(53936002)(107886003)(76176011)(71190400001)(71200400001)(86362001)(2201001)(50226002)(6436002)(316002)(4326008)(68736007)(256004)(25786009)(7736002)(2501003)(8936002)(478600001);DIR:OUT;SFP:1101;SCL:1;SRVR:LNXP123MB2106;H:LNXP123MB2185.GBRP123.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1;
received-spf: None (protection.outlook.com: camlintechnologies.com does not
designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info:
fBFhNPbfK2TUz+HT1/eKyTjOHtuJrH2d0PSFja2aBfPZtS45mW5+mjFKBjA0N8AnXIa/O3OQyprqZIQDeffuIzoqKA4yA6MBkjGBY/j+n+8+7WuCeNHL9OBUEW/l/cQEUA2cuCR9tbLwEO/SvfOsBjTMuXNWmpyU6nUZc4qow5TPBwiwD+c7Mj5P9fOIJEH+pOdaN78wwX3m35udeyyENQfxsHPU1S48oibhn8wuBDOzBqxiXXqkOAZ59aTVypgrLYdhMo7lAZgG/Kq87SCjEwmHOjCV2H5RDjAYZxdAe/AfJzgFHAPGvdp8rK5AR0M/R5lXPA9QDvxB33QeC4KMwrClrag2Cwv6iboRbW+sQsPAZXmE0TB9bOi+PzTRrrK5Nrh0kiEKWbNbKtL1cyNS0mEsmA6OFf9KUnjKUL9x5Fs=
MIME-Version: 1.0
X-OriginatorOrg: camlintechnologies.com
X-MS-Exchange-CrossTenant-Network-Message-Id:
7882a4d4-5f90-4408-6a9e-08d6a3da402f
X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Mar 2019 15:25:09.8013
(UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: fd4b1729-b18d-46d2-9ba0-2717b852b252
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-Transport-CrossTenantHeadersStamped: LNXP123MB2106
Sender: linux-wireless-owner@vger.kernel.org
Precedence: bulk
List-ID:
X-Mailing-List: linux-wireless@vger.kernel.org
X-Virus-Scanned: ClamAV using ClamSMTP
Variable i is not used so remove it.
Signed-off-by: Piotr Figiel
---
drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
index 5ab397d..c00b9fd 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c
@@ -449,13 +449,11 @@ static void brcmf_usb_free_q(struct list_head *q)
{
struct brcmf_usbreq *req, *next;
- int i = 0;
list_for_each_entry_safe(req, next, q, list) {
if (!req->urb) {
brcmf_err("bad req\n");
break;
}
- i++;
usb_free_urb(req->urb);
list_del_init(&req->list);
}