Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2482638pxk; Mon, 14 Sep 2020 14:52:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynw84WRR0Wz3gaM2S0chk2UdTKT8Hgh+zzpyYAaFObmXteERRNfc5rmt2clSGffRSL9Ju1 X-Received: by 2002:aa7:d144:: with SMTP id r4mr19416502edo.303.1600120364810; Mon, 14 Sep 2020 14:52:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1600120364; cv=pass; d=google.com; s=arc-20160816; b=qe7VmMb1LTXTeHAMBOsy0t0g1mdkjBxIJme4WtMVafkU4qkEHFraHWVv5oLxOsOeDe 7jzm2uDsbgsA06yzVRS+CNhf8WeUeh8YEAGOPLQ00sybwV2liRg22fibriAk41kpt/sg sZWtxZKTY+sVQgMK+0sLEIJFbE9/P27mPqAgc0068Vpwdvy0Wxbb/uE0HNQPDawAnCmh QV9mCbkvjPNCIywx8JrbKuF1Pf2Di7MObaJngTxkQ2L19gLKD+B8r+StD+XTnN59DVA1 mDldIeHNdiJGRFLjf0zsKWLyoXc0//IVnW/Bd8ddHpjvkq0GrNchHP5H0cTW94LA4xka V9Rw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version :content-transfer-encoding:content-id:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=VNMTBEjkJC+e1KfaToMgRfC0fG+BfYzUWFvChSkvAUI=; b=bbjSQUzfgpq4FmjKjmrhB965YjIXrofFFflJSwxuUDCGh0yh59bUIQC5WU7xrDEH/2 p2svWGsCEWs3mQnrKEkbHPSfvmaRwLdcKTNyeeQCjF0wk6Xjcecx7LHoaIwDs13KeWnz TwXnKsArLPk+Yo6v3wRezz7hw6TV1dto3oMGQ83glp391VNeJxtmDUbtO4cuHZHj2VBL 6KSUOKBqYfHrzhKANW9sVpphJECS/stus62mZGTxFyC36eqXhS0sJa8uivK9xP3e0nA2 ro/xAlyRUlIlS6JeizjDSqvinKJH/AVb8jwkTh4D+Qx2wwFz2sT8fEF2Ci46pP+c+wfF ac3A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=Toym0rXE; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d9si7965525edv.452.2020.09.14.14.52.10; Mon, 14 Sep 2020 14:52:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=Toym0rXE; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726128AbgINVvp (ORCPT + 99 others); Mon, 14 Sep 2020 17:51:45 -0400 Received: from nat-hk.nvidia.com ([203.18.50.4]:10047 "EHLO nat-hk.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726073AbgINVvi (ORCPT ); Mon, 14 Sep 2020 17:51:38 -0400 Received: from hkpgpgate102.nvidia.com (Not Verified[10.18.92.100]) by nat-hk.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 15 Sep 2020 05:51:34 +0800 Received: from HKMAIL104.nvidia.com ([10.18.16.13]) by hkpgpgate102.nvidia.com (PGP Universal service); Mon, 14 Sep 2020 14:51:34 -0700 X-PGP-Universal: processed; by hkpgpgate102.nvidia.com on Mon, 14 Sep 2020 14:51:34 -0700 Received: from HKMAIL103.nvidia.com (10.18.16.12) by HKMAIL104.nvidia.com (10.18.16.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 14 Sep 2020 21:51:34 +0000 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.173) by HKMAIL103.nvidia.com (10.18.16.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 14 Sep 2020 21:51:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XUywvW1z2FN8aFPIua0FoLhRlUID+bgZXnWNJ0rGX9d7pN8WjdGRQnanRpKF1hzLAXzJW4TybyoNd9DKKhZWr9KKuE6KgY6lVnrTY/JuHkaqVCnMjrwqIG9/zkGbDGlgHMi+s3h413nU266sBqcAPOpSt9YUuzzqEbsCNHhJsPCbc2a4pIz9AbSziLnH9xHnCohuJMiSCMkwb1NDcZdTPuknxHETgSlQig5a2g1KtfqB76DTZXEChBoW3j/JJu214lWQG5RK08DdI+P87x7M48q41cKEudTE32enZESPek5ihiOvvP3O29wu6nsKjtB0GaHjE3lIEPq4J0O/C3F9AQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VNMTBEjkJC+e1KfaToMgRfC0fG+BfYzUWFvChSkvAUI=; b=i1ngtca1mRz9ipZBzfg5eFZ68ZraTXuUaCF66P1cd4e34MmjbzJVzhYKdopfDCiW69bbPNAvsZyKQ6Ofi5PSI+TjHGrm2k85xJUqEs7H1KXWhP2/wNEfOQQ+5YHhPw8WqJAcUndcmx63XNVYq29+kaq0Ld+Tw9gGwTeJNgBYLchwClaUa+d2ye9yGUwcpPwNGYuoOc4fJ4tePGOZfF9ZAKtzhQn//bq/TZoqjke0tLwxZuQD58A0jdq027uWIzo/Q9R9/F6ORpDkzHIvmZ7GyBvDyjU87Hn9QkeAL5iKCzZ2HGUifSlISqqCn8A2HcdfUfUevvVkiO9IKrIySvgaUw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from BY5PR12MB4209.namprd12.prod.outlook.com (2603:10b6:a03:20d::22) by BYAPR12MB2949.namprd12.prod.outlook.com (2603:10b6:a03:12f::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.19; Mon, 14 Sep 2020 21:51:32 +0000 Received: from BY5PR12MB4209.namprd12.prod.outlook.com ([fe80::90a0:8549:2aeb:566]) by BY5PR12MB4209.namprd12.prod.outlook.com ([fe80::90a0:8549:2aeb:566%6]) with mapi id 15.20.3370.019; Mon, 14 Sep 2020 21:51:32 +0000 From: Saeed Mahameed To: "alex.dewar90@gmail.com" CC: "linux-wireless@vger.kernel.org" , "ath10k@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "kvalo@codeaurora.org" , "davem@davemloft.net" , "netdev@vger.kernel.org" , "kuba@kernel.org" Subject: Re: [PATCH] ath10k: sdio: remove reduntant check in for loop Thread-Topic: [PATCH] ath10k: sdio: remove reduntant check in for loop Thread-Index: AQHWiswcA3kxotH5yEulxUUC/5HrMKlorM8A Date: Mon, 14 Sep 2020 21:51:32 +0000 Message-ID: References: <20200914191925.24192-1-alex.dewar90@gmail.com> In-Reply-To: <20200914191925.24192-1-alex.dewar90@gmail.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [24.6.56.119] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9de3ba41-be8f-4e37-906e-08d858f8580a x-ms-traffictypediagnostic: BYAPR12MB2949: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CipkA6BbubHvBOBLpKigis5Dtdk5ScQ052T8BItD/8rp/rt2YHmOH7ekYMq6Hm7vcOHm3IDEpUDgMftV54NAK5gLdG/wfK/IHK6mU+B35YDtyTRM7rDjE3cHmEwvtsuOWY47KE/JxdC0OPMayJjSPQYHEklGYyV36GeC+yKoiWCUZDiiCIQ4CoIhWqXYPtyMM6F9k23DdI5lkNKhbnR7lQBGvpENpLkUuOf+T8MMaahYDK9rHZoFTcPPtIUbFaIKeprSxFAuLaWKNk7YlNqpbJYt+Pf7w5hp3NJX1q49gFS7KK22zHAgO4k/umZ20ahPm0Qadhekvd4KehOiOOmjCw== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY5PR12MB4209.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(366004)(346002)(376002)(39860400002)(396003)(83380400001)(36756003)(8936002)(5660300002)(6506007)(76116006)(66476007)(2906002)(6916009)(4326008)(26005)(64756008)(66556008)(6512007)(186003)(66446008)(66946007)(316002)(86362001)(6486002)(54906003)(478600001)(71200400001)(2616005)(8676002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: lKXswpgxRPM6Xa0W6dEfGyQxPITie26lS4aJpFq2vGllcI3JSd+mIBMf4PSBSBibz3H9w+PzkPUZJxxyot3IYCQumlHA2BJU5f83uQbUoJpaXEcKWPST50HWjnJivnpaB4Rag4CT1UXb6UuqSK2nBxvJVueyXCliXGD0hn05Y22i1rp/xKhTB0FVxueSk4RKsNbaJV187bAWUTpXIQKZ+clw58xWyMpiDWgkqwhgutouissdhS3O7AM8Ex1zxBXcHuNVWb5W62m4dXiOVWzwdj/VKQcx/WulZsF5vYA40cP2TajQZHB/zVU8ef8eVFJAwSZqe3bmYNEIYrOcs+q0mlTowH0LLc6yjpIjyPJG5F9Dwk64AxTy0iTf98mKzLDB2bQjcM8sW14jbH0/oJHDSexDzEmXQGGNa6nieatYudpyV4DOyNNejtwTN0XU0d3KBvp5ZQ2L5LW7hIfXxd+VTmBnp4sLkRn2q3/P1WAAYQUl/Tv8+1PIT02SO03HWubl7IucaNIVcKvznUWoX1b/YqNZuu7k54Uzrd8LE6N6KH7iDQsdkPFuhTszwBdqScKoORR3tWgvjbIpyxmJQ7T9GXfpVvnD6tsX0OX7uVYXooS20vb0CyuZOoFxk4Es7YIS+slRPV2871wIAQIjAgn/VQ== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR12MB4209.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9de3ba41-be8f-4e37-906e-08d858f8580a X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Sep 2020 21:51:32.3443 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: dbi3mqzsPSdBKqdPTfRwueePwPKAOUiPvxhNyRDYZpKDkZ1D5A/2rso+0aLpN8Z3mJD2jrxQ/G8d0EThnzUMtQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR12MB2949 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1600120294; bh=VNMTBEjkJC+e1KfaToMgRfC0fG+BfYzUWFvChSkvAUI=; h=X-PGP-Universal:ARC-Seal:ARC-Message-Signature: ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic: Thread-Index:Date:Message-ID:References:In-Reply-To: Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers:x-ms-exchange-senderadcheck: x-microsoft-antispam:x-microsoft-antispam-message-info: x-forefront-antispam-report:x-ms-exchange-antispam-messagedata: x-ms-exchange-transport-forked:Content-Type:Content-ID: Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=Toym0rXEmORTxbGB/av8LW1Cq6KT2ypxcgFkjLcqetGVLos9W7DyNvTEDwTB53fuq lYoPVqxAG2GtbZM6iYLN/WxqcAMMkQdVLET80CmOIeIVTe0/NNlMKsOgwq+LarSmhK v1pVzKNBsdU0a5i0LhQQKdsEQu3GiFD6v+kfDWRYMcrzTGszIigFPEX7pH2W0wfKA2 xBj5mYFPbkUD7TKItn7AgUy1F+kL6oCGF4SR3bN8tX50bsjsE5OXmzttxPM/Xs84zW FmRUPbkxxeehOqcAGCWSVBoM92ZyaqRfEh7Sd0NaorEBK9FHGDgPlPVxIMYnI+ZqXq OV6XxGOSB+PDQ== Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org T24gTW9uLCAyMDIwLTA5LTE0IGF0IDIwOjE5ICswMTAwL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