Received: by 2002:a05:7412:1492:b0:e2:908c:2ebd with SMTP id s18csp535548rdh; Wed, 23 Aug 2023 07:34:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGkL3dJEMWHGOcW0lIHw+tNnUOb2XJ75P0SukNqYDyV9fx9rsk3U48zih55pEzOYMdF0Ysl X-Received: by 2002:a17:907:2bee:b0:9a1:b950:abab with SMTP id gv46-20020a1709072bee00b009a1b950ababmr3960730ejc.32.1692801241782; Wed, 23 Aug 2023 07:34:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692801241; cv=none; d=google.com; s=arc-20160816; b=f3DONpb3HReP/zq+ikC8i5TWWolM6pvi0wFxi9BKGIECdzp81YdHW7XSZTAFa8u1s5 imC+ip2egbn7qFYXmFAbdQf0xMdVDgfGu1NEg0ODe7wA75W9BBAb4IW5v3vi4TDf0vV2 6tOaxGT6DvfTkjOQ/CScKUt5fJDg8fVhYXoRIh49bpD9Z6y8TytYzep6KAFYS7dhBXRr ulkqexW/ZSCR1v9H+rfBYOQOMOLoIziW7gmT3uyljaLB08x6MQjcy0wjWsE6vuCPZbl+ DOD8oCONxyRuN3RbrNaHSuiHHIrU+H6PlJwwtnesIJnjC/2m2DIlveOC6fh0ye82Qn+k J1CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dkim-signature; bh=ho/rqy0eegkX6K2RMXQtVudBLbhQfll0921UWEC2oIo=; fh=/fafsb8NnKz1y87k6eB9NErCT7bQNSufWIdHkpWZzqM=; b=UX9d6KCC9Z33te/0Mx6IeZdI3YMNihwj8Mzw5W9vQtbg8cMVXIHTUVKgspFAc18Y8C 3dKX2Acz9oT+FbuIYlDSPoORp53OdL67ZFxTRDTO3LOygHa4heZGeOoV3kZKyXBsaIIS uzwv42wF6OkkEjTxVsZoQjfL3pn9lDSKlSmCm0jcRvpWC3ZeCWKqTHgSUq8RWwCqqFB8 wG4zx+MzoU55BirbPiA+PiGfmTmjOxOQyW9weeVn3qQ5MH4OZJqL49BY+NnsR5aAChxB VT4Nl/ZS1q34VEgcX2uUEgf4rFb73yNOjXSLDGZfEfIF0TP6FQbS9pc9e5dp30/oWxeK bM4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Wy3UBr+N; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u26-20020a1709063b9a00b009a1bf6056dcsi2352300ejf.783.2023.08.23.07.33.42; Wed, 23 Aug 2023 07:34:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-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=@kernel.org header.s=k20201202 header.b=Wy3UBr+N; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235270AbjHWOMc (ORCPT + 55 others); Wed, 23 Aug 2023 10:12:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231654AbjHWOMc (ORCPT ); Wed, 23 Aug 2023 10:12:32 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79F5AE4E; Wed, 23 Aug 2023 07:12:30 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1096362A01; Wed, 23 Aug 2023 14:12:30 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EDC8EC433C8; Wed, 23 Aug 2023 14:12:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1692799949; bh=aK8sjaMMZCwX9NyCciICkzG/hN1SXAT3vqzO/pjFLfU=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=Wy3UBr+NXNWEJ0EK7Z7zSFIDDpS79KrygtZ/M2QrDWykNrZLB+nC9TuIzBKj4M8zd 5F65MB/Z0zUhZ9oKfA9Q3KY4flQE9A8KrD9MkMU33jMOwLkYcv5kNiYlCDZbUbv4Kb 2ZbBV9iSvOMAmq6xk52O2Y/0R5luCW1sTkzQ/k0ouQ5P9weP9OODRuMCcEHcEgZDay OIK7YO++zXlzbsGUZRnglE8CIUGRkmGqCl1i5wGwnqnsYCcV2fLI46KNlS1m9LrfJj JFH45QVbUGqx6BPARaJw7K3a43L1itv8zwQ+6XAHsnH4Bp/KTX0n18o4zlkiQndEe8 vTbCdSNWmP59g== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] wireless: ath: remove unused-but-set parameter From: Kalle Valo In-Reply-To: <20230814073255.1065242-1-arnd@kernel.org> References: <20230814073255.1065242-1-arnd@kernel.org> To: Arnd Bergmann Cc: Jeff Johnson , Jiri Slaby , Nick Kossifidis , Luis Chamberlain , =?utf-8?q?Toke_H=C3=B8iland-J=C3=B8rg?= =?utf-8?q?ensen?= , Arnd Bergmann , Nathan Chancellor , Nick Desaulniers , Tom Rix , Aloka Dixit , Wen Gong , Ramya Gnanasekar , Karthik M , Aditya Kumar Singh , Muna Sinada , Johannes Berg , ath12k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <169279994309.1241462.4902060190559349249.kvalo@kernel.org> Date: Wed, 23 Aug 2023 14:12:24 +0000 (UTC) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham 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-wireless@vger.kernel.org Arnd Bergmann wrote: > This has never been used since the driver was merged, but it now causes > a W=1 warning in recent clang versions > > drivers/net/wireless/ath/ath9k/main.c:1566:21: error: parameter 'changed_flags' set but not used [-Werror,-Wunused-but-set-parameter] > drivers/net/wireless/ath/ath9k/htc_drv_main.c:1258:25: error: parameter 'changed_flags' set but not used [-Werror,-Wunused-but-set-parameter] > drivers/net/wireless/ath/ath5k/mac80211-ops.c:367:62: error: parameter 'changed_flags' set but not used [-Werror,-Wunused-but-set-parameter] > > Remove the bit manipulation on the otherwise unused parameter. > > Signed-off-by: Arnd Bergmann > Reviewed-by: Jeff Johnson > Acked-by: Toke Høiland-Jørgensen > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 3b86f86d0f16 wifi: ath: remove unused-but-set parameter -- https://patchwork.kernel.org/project/linux-wireless/patch/20230814073255.1065242-1-arnd@kernel.org/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches