Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp686273rwl; Sat, 25 Mar 2023 09:07:59 -0700 (PDT) X-Google-Smtp-Source: AK7set/IWatUp7TN2fwnZ2ZM/WxFQqLL2mgXGRXAqqSaB+btlaQA2DM4lN2BvaTUGykf7SV5zXB6 X-Received: by 2002:a05:6a20:1e4d:b0:c6:c85f:da5b with SMTP id cy13-20020a056a201e4d00b000c6c85fda5bmr5793843pzb.55.1679760479062; Sat, 25 Mar 2023 09:07:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1679760479; cv=pass; d=google.com; s=arc-20160816; b=qcymQQ2OytdpTwWtW5T2jah7dnhDaXCPZeCwZRrIEbRFEPQO7W7f1LgB1e4BjRfmMK L+f9Vi4LH9TbLrgr5mbbzQxoFUGNIF205pYU8GtpGCxAXJCQeLwcSE6sCGrZqcFTXdWG 4Tw2nyFpZMmjpYQOIUVFSVZe/wetffgqCgBE2RUVtNat9ViLi4v3eOJU8gp4immkeAqS 5fpIEZ90k0hpEhKnpo2Y8IzlMPBxiI9k7ae4/fN1P6sBoIdGjjO+Rompkut0LEjyJ8pD Pdvl7xZLKoZGIRwBwGWFVTdVx725lvqKnppCMJaCHWMWpKLhGGYHYL1xwLh8DupLCIGN LFVw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=nFfOc6F/srpvQpa5wJiwvUdCjzi4ShQWTiKS2h2bZWk=; b=K5N33DWOM+h3+5u1zfVchxzxjNFidZj5gQJ64CekrFEWAU7FF0gBqJAHa7GCMHWhz/ O71iEPuUR3IUVYuVMgJYDHijU0uRTztXXqUWeqP6Q+n3AfK7WeFQmdp4pE+mXHAijUfd 79oBUUOTOlbIgYFZuzf5WwdOXRHbEKfnsm6UYxCJmqEq30VY+71zFHt0VeyIZCvrlJCN /pILsFXDGnlUPJVil1xEW3IDTKd4qP+MAIHYYg6eVbiC3DzBMHQ0PQDAxlNrIp8EZvEo 7BL8paavTcKg2vc8JjSFlTknOiVWcyQuJrD6PwWi55W9epCYaGePJ0/1KDx6CX2aRZL8 R1OQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b="QhPWA/VJ"; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o7-20020a656147000000b0050be676d6casi22807378pgv.689.2023.03.25.09.07.47; Sat, 25 Mar 2023 09:07:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@corigine.onmicrosoft.com header.s=selector2-corigine-onmicrosoft-com header.b="QhPWA/VJ"; arc=pass (i=1 spf=pass spfdomain=corigine.com dkim=pass dkdomain=corigine.com dmarc=pass fromdomain=corigine.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=corigine.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231934AbjCYP7F (ORCPT + 99 others); Sat, 25 Mar 2023 11:59:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbjCYP7E (ORCPT ); Sat, 25 Mar 2023 11:59:04 -0400 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2123.outbound.protection.outlook.com [40.107.220.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8C78293F1; Sat, 25 Mar 2023 08:59:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=keMz2gSxPCuFKUSxGg0wNNsaavnBORV+iAVjKfk2LyEe6fIwlBc0qKIUfuvvtzuPjjJKLaKc0ipZFer8H5gVOSZ+fVIvKKFfFhFU5SuudBy0JpMMwB/tcy6B9T4O4UViYa9Khft/V+2AppY39oo8YbZykqT9aavH4w12OPKzOp6rK6eyYIHl0BAUoacl6uzabKmflzn+sCbVujOHrcXClG9O11WyWcME+h9AxMqWP7x+EAh39wFBt6HdoMfSRDZpmzjgD7DBAoX1saPVRr71ZDPIM0UUpblW+LC5l0DJpOiEB60PMpfZlVj0blwoZ6O25hioIKvu9IiBU3/WNlTswA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=nFfOc6F/srpvQpa5wJiwvUdCjzi4ShQWTiKS2h2bZWk=; b=F+RRK69P48kMOA0FRBCcliZK5VUfYs8NkhXHqKAdNi3vWvKHO/flN2nzsqHLcl82+calhYHNcZtocBXdY08//7zDyDX3SXm4zroieSPALzbpwuUbxWxau8gaC7FGkPXbsEJ6HIYTSfT95cFq4S70ckfRJJDHHtKuREJTFP2s4HquWeOEHNF8hMSZTCt5dMiatm4axbJ9eYWoIDAFzqPmP7t7aMwa9F4eArv9hqJq8cEBfo2VeR0yv6bNchG09ZVC+8IgZn24369KkkAug/9PNQXkm2OCOwsbd7UDCGOzABcBd9dJgMsBCnbvDTDEgwFL4iNni4lTjH8kBlXg0CxNNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nFfOc6F/srpvQpa5wJiwvUdCjzi4ShQWTiKS2h2bZWk=; b=QhPWA/VJxryoQGjj3gNZeML8pycB6J8usJHYsl0/czJpGAldrgoTp5ZI8Hnach2lj45hLnPgpXnRQy8ihDAvccX+PooYwVFAQ2LhjcOd+S2HPyHZMvEG94anuKUlzZBl7k5rms+rNUYM6Hii2zkt6G+2FgSl563uroULHhcH+hU= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) by DS7PR13MB4621.namprd13.prod.outlook.com (2603:10b6:5:3b0::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.41; Sat, 25 Mar 2023 15:59:00 +0000 Received: from PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::85f5:bdb:fb9e:294c]) by PH0PR13MB4842.namprd13.prod.outlook.com ([fe80::85f5:bdb:fb9e:294c%2]) with mapi id 15.20.6178.041; Sat, 25 Mar 2023 15:58:59 +0000 Date: Sat, 25 Mar 2023 16:58:49 +0100 From: Simon Horman To: Tom Rix Cc: aspriel@gmail.com, franky.lin@broadcom.com, hante.meuleman@broadcom.com, kvalo@kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, nathan@kernel.org, ndesaulniers@google.com, johannes.berg@intel.com, quic_srirrama@quicinc.com, alexander@wetzel-home.de, shaul.triebitz@intel.com, linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, SHA-cyfmac-dev-list@infineon.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH] wifi: mac80211: remove unused has_5g variable Message-ID: References: <20230325130343.1334209-1-trix@redhat.com> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230325130343.1334209-1-trix@redhat.com> X-ClientProxiedBy: AM3PR04CA0134.eurprd04.prod.outlook.com (2603:10a6:207::18) To PH0PR13MB4842.namprd13.prod.outlook.com (2603:10b6:510:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH0PR13MB4842:EE_|DS7PR13MB4621:EE_ X-MS-Office365-Filtering-Correlation-Id: 1a20e63d-aa00-4c38-e55d-08db2d49d883 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 50QDB8HuVOdBr9mR7J+HrOLsyJmbj9CpJW7D0+l4rP5vev/8fQF28oOiSAdBzYhCXUIb4lYm1xbORzbYJDMuZU6y35y/m+ONRbHbAUDEExj66DSYwe9+t8bXMl9HTmLpEJ8heLms1GMYD3tYKQOWYX7xkHCZRgHJMOWXyTAgxJTE29HDMgEmJcLnp51bfkAM9Sz2NOlKtDzHb9mq7OElWOVHui9mtYt2+sfZt9IXdATH4Oy4E3Jtvi0XEv9nO3ROlOY5O6WSSGdKAb6DFFEqGtB4maCMh3mZVw5veExj4OmT2dPi1sI6zVX++sv6rCqrt1aj2qdHXLQiGkiQGZCMXIXO4pZeFDSwAQW5X5Ce4N0UOUDCYNMGSTWe3Is1Wo0TsreE56X5mAGG9j8FQ36wLIfFKXNR7OVsgINuJmqKGzoEQhFvfPhF/qitc9sve8oa0e+vTNMuszMG4uJv4XzDYyTmW65u6cg08vItrGmUtBgSI9pCN/9cKN3RS3yungAg7jJzJg3ZZK+ocZNEIQNoROnnXX3fdjd1ikFl7ktkcmkYlxD0nwZat8rmRAKhFyKEBOdvuzhaZ2N2+QaI5GF158vEzARBs0feGROuYvBUiHc= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR13MB4842.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(39830400003)(136003)(366004)(396003)(346002)(376002)(451199021)(36756003)(86362001)(6666004)(186003)(2616005)(6506007)(6512007)(5660300002)(7416002)(8936002)(66556008)(66476007)(6916009)(4326008)(8676002)(66946007)(41300700001)(2906002)(4744005)(38100700002)(44832011)(6486002)(478600001)(316002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?q2CLgUT4dlrZzKSN4zStrcedvIwxwYjb8IYHBaLpwBQOaTlzmDKAK/4sD3MJ?= =?us-ascii?Q?aupH7v66XxTHfuLd1OAuOplZeDzg1/dbGhy0E1e+cYYcv3YKPa3lHzd0r3yl?= =?us-ascii?Q?DavZN367Q00WMg7lgZwge6GxG6+3CAfCc7hL+8YdcZjeXqoLvXuGNSFkoMg8?= =?us-ascii?Q?1NCkqdcSA6w7MkNJvXiA/TXk6s2ev9Ed50x96+i8Jt/jh+52fI3UdRcCHzDw?= =?us-ascii?Q?fVoJwEeDQvDUZRvmmAO0zPT+UIK7MskjRrvtL/ndDy3+7D6Gr/4EDVl8WM84?= =?us-ascii?Q?h22KQFBHaGYSnOQ6i6INI1U4iXAse0RXwY516dDs0MXzpIkgdV5fIb94ClxI?= =?us-ascii?Q?g2cea+ziqriaEHX0Nh8cQGX/FHyuBuE7+uCbMLaA7nHaDIBJJXhAS2wZbi7K?= =?us-ascii?Q?8p4C2nAkJg5Rm7auEiYPTZEd+JAtgS8EFzO3F+0a0ex90BUFw2E+rk+CU/Py?= =?us-ascii?Q?R/usz3aCOnkuQhKH5jyraNVH00q3jZBN+3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-ascii?Q?zbM81KEjshIo+tqnT+dkWt5QIgdxU2H7Q1RrCfkhIxakz4ijG/t/gQrxTTRZ?= =?us-ascii?Q?FFIGvebBV/2SNGXfq0iA9IWor3Wmpg9OpQMnAR+hOFMb9A1D0PhMBqb4U84O?= =?us-ascii?Q?e9LjKAd5DQ/9nRP3qZgJIhTHQ02gE9UPTW8dWKWMJAmevoRe8xzaT9toonbM?= =?us-ascii?Q?XpZG+uc8qo2pw+07CPfBhu3EhRDt+ZrBqXMZ0JDg9vWB6CA1aPPmdsAs+6bN?= =?us-ascii?Q?XzdQ2t0YIelaVN9kKid2MpQh23ObflWQkmDXuB3DT3O2EqnV1x8pcK7tzJcV?= =?us-ascii?Q?HiQRHw=3D=3D?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1a20e63d-aa00-4c38-e55d-08db2d49d883 X-MS-Exchange-CrossTenant-AuthSource: PH0PR13MB4842.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Mar 2023 15:58:59.4254 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kMNIb0f0kXw88K+amuM0gYgMY/7RYURzgpaSiGOiGwXqYeSa41nheLMS6/EnAaXkRHyxqA+1/k9ZtESsgIJCcKUgWp8qDUPUo40KZMvXr0g= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR13MB4621 X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Mar 25, 2023 at 09:03:43AM -0400, Tom Rix wrote: > clang with W=1 reports > drivers/net/wireless/broadcom/brcm80211/brcmsmac/mac80211_if.c:1051:6: error: > variable 'has_5g' set but not used [-Werror,-Wunused-but-set-variable] > int has_5g = 0; > ^ > This variable is not used so remove it. > > Signed-off-by: Tom Rix Reviewed-by: Simon Horman