Received: by 2002:a05:7412:2a91:b0:fc:a2b0:25d7 with SMTP id u17csp419259rdh; Wed, 14 Feb 2024 00:16:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXbRmJHuaeUsV0C+v1+czGlBPeAhtRHJH/wSoN7dca1KTuFUaSG9xu2pRACG4E3AB61Obq9rqUzkKdKWJ22ouYJIK8QaJ4b7XMbMRZDGQ== X-Google-Smtp-Source: AGHT+IEbAZVA943JSR2Ad26Wk2p0FELFwvH/r1mVzUbHz4Xg8zlTtyDTNcvuUI76JMpgmTfNZORT X-Received: by 2002:a05:6870:ed8a:b0:21a:97d3:f96b with SMTP id fz10-20020a056870ed8a00b0021a97d3f96bmr2363150oab.36.1707898584832; Wed, 14 Feb 2024 00:16:24 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707898584; cv=pass; d=google.com; s=arc-20160816; b=CIqA351PlkbSCHi6kIjYH3MqDGyp/Uzjuzb2KKd2T1N6Csq++9ePt2YEAxt8WnU25G e9HzMA24rZHGjJeE51Jb5xBJZzJHRM86yXmxuRgxzUIOWJ2hnvihMrxjmid4tDv90om0 FJWUUiutN+EI5PhKe6zCHCl17YYkTORn1SYKbcEpX7Vqpb9R4GNiDxxVRBtpjw6gTcPL hUHVdswE7+Pf+KwZxQ8Fp2gQj5UVcEOrhD8hjTqPnP6IJbLljcs6YzxiwL2i91VNPjYe shbbZgZb7yQjxvUl0fKPO4WYwgxp1HUe9SZwjlUqIe1hwnppXScrUC94LkItmAKLj2Ig y58w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=+Y0G2vlwp7paYT9YSZ9uOqF2W/bOS+E9VEq0GcvXY+g=; fh=5sf5ImOPFDRZkMWxsnRUb1D1s4f34/FX3bGW1HyHvQY=; b=PiUEjmKosSpot1RMqeYMfqEzBUTKOzNsV8OmBo7xbnFOWmJOse5VO8zV8tOmxwDAgK G/5qhwGIfTu5lWnjcRpwaLzIIdTXC8aw+EtOgzTWPmnL/w80MUq5TQAXc+ifyNohZsG3 WfBnkQLiDJ4x+wx1QhgBFgTeWoeR77af5DoV0r4XOu+OYDQw/+XUH1GuPAMeiyV9b5OP xOhPgVOe0R9i3SFrL4X0uW5dKt5N7fFRO91HGuJbLfNsP3/20H3nxWQBPWDbhGY/3cv2 X5p5lO5NanKBYZIL/OQhj+t08ePE5YGF80b+uY5PHR3a3dA7M4XUyEIYAd80YKAPi3Ha gSZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AUs0nQgt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3569-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3569-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCXzX2By3t8m1F2lPlj2i1rf3t+So1M96y2DrBcIPrMUlNXwgliK6s5rdGbtb4NLsprI3sLqqegOWIr68RoQPBnsQ0E5+4RMj3bBjgIsUw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id y20-20020ac87094000000b0042db072a6d7si2682934qto.712.2024.02.14.00.16.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 00:16:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-3569-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AUs0nQgt; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-3569-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-3569-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 7B27D1C21F6C for ; Wed, 14 Feb 2024 08:16:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9CBD511CB6; Wed, 14 Feb 2024 08:16:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="AUs0nQgt" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 72171125A2; Wed, 14 Feb 2024 08:16:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707898579; cv=none; b=nCXWWbbGTD6m6DBETpCyOoKkPQzEl6n1XFaZH8rHjzwzkAFc7AWZBBxGqQ+36Hqek1WcSooQ3Jpcw197nakhYGVKV4JjTvWUOoklL24KNSQvXG+pzcDneUPTLNIPMpbpNts/I3/r/ASNbRYGEh6i9F4F7ZuYViCx781jY6FnHFk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707898579; c=relaxed/simple; bh=EQK4OqWRKFvuntJVf1ZtMiax/Oe88+7UKWuKRY4WF2k=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=CrwrmH++OXT48ups5pphI+shK4iOWY3tOV/ZGIagPs9mjoP/emJ2T0Yh7Bum+5GcTdM0Kf/rGbrIqJgwWf2bPy3iEe9kfhQPDMZk9doPvv8crKwU8TmBXc64ee5J4orw3403KU3AKhjFoZe5ls2xiCgXV5aqVhcM6pNixL4JQT4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=AUs0nQgt; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3D1CC433F1; Wed, 14 Feb 2024 08:16:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707898578; bh=EQK4OqWRKFvuntJVf1ZtMiax/Oe88+7UKWuKRY4WF2k=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=AUs0nQgtHSN9dvY/h7QmCyO1wOB3l35YIBobYwWNo20zKPHESuG74MVzok3coHH9H 1GJ3gOa+JheLNqArU2euPFa7+G8XAHR10JF5Z7TpfIObYZuTbs7QpkoQfOCnf33l8Y lIbu1Qw6wd2d05O+4ounzv87erq9AiHyMlNm8DJBbEK0g0shQxdjEPeSFjDohHAOkv +Dm2rIyPmEoLpvAzAs2uQvgqQ5BFClhBIeKwhrzVZL00OE1KwAb33eMv507zeg0ulf zexM/R25P2RPlzvf8HvJk9j2gfhRSZw7yzek+mgm9jxdyZhBCi4dL+mJMXMA/f+uhi OI0KsJGriXHzA== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PATCH][next] carl9170: Remove redundant assignment to pointer super From: Kalle Valo In-Reply-To: <20240207171524.2458418-1-colin.i.king@gmail.com> References: <20240207171524.2458418-1-colin.i.king@gmail.com> To: Colin Ian King Cc: Christian Lamparter , linux-wireless@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170789857574.3088943.8807931927830576356.kvalo@kernel.org> Date: Wed, 14 Feb 2024 08:16:17 +0000 (UTC) Colin Ian King wrote: > The pointer super is being assigned a value that is not being read, it > is being re-assigned later. The assignment is redundant and can be > removed. > > Cleans up clang scan warning: > > drivers/net/wireless/ath/carl9170/tx.c:192:34: warning: Value stored to > 'super' during its initialization is never read [deadcode.DeadStores] > > Signed-off-by: Colin Ian King > Acked-by: Christian Lamparter > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. b53adefc884c wifi: carl9170: Remove redundant assignment to pointer super -- https://patchwork.kernel.org/project/linux-wireless/patch/20240207171524.2458418-1-colin.i.king@gmail.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches