Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751678AbdF1Q5Z (ORCPT ); Wed, 28 Jun 2017 12:57:25 -0400 Received: from wolverine01.qualcomm.com ([199.106.114.254]:63637 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751538AbdF1Q5P (ORCPT ); Wed, 28 Jun 2017 12:57:15 -0400 X-IronPort-AV: E=Sophos;i="5.40,276,1496127600"; d="scan'208";a="296482310" X-IronPort-AV: E=McAfee;i="5800,7501,8575"; a="955360540" X-MGA-submission: =?us-ascii?q?MDGYR44AxARfcB7xh5xBUZoS7ABDJ1cHx8LCj5?= =?us-ascii?q?dC7/0NvHKaHt8H+72jlp8YEEAxunddBm6PfHMl5lyq/5w/zsKmPQ9Sie?= =?us-ascii?q?Dknoi45RyD5V9nwGiSl4dOgDP+ep/kVblX4Nscx9GN+mMZKP+Kl+o2Rk?= =?us-ascii?q?iG?= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: ath9k: remove useless variable assignment in ath_mci_intr() From: Kalle Valo In-Reply-To: <20170626232658.GA17483@embeddedgus> References: <20170626232658.GA17483@embeddedgus> To: "Gustavo A. R. Silva" CC: QCA ath9k Development , Kalle Valo , , , , "Gustavo A. R. Silva" User-Agent: pwcli/0.0.0-git (https://github.com/kvalo/pwcli/) Python/2.7.12 Message-ID: <36c24b8f739a44adbad3a2b5487cc184@euamsexm01a.eu.qualcomm.com> Date: Wed, 28 Jun 2017 18:57:07 +0200 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: NASANEXM01E.na.qualcomm.com (10.85.0.31) To euamsexm01a.eu.qualcomm.com (10.251.127.40) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 611 Lines: 17 "Gustavo A. R. Silva" wrote: > Value assigned to variable offset at line 551 is overwritten at line 562, > before it can be used. This makes such variable assignment useless. > > Addresses-Coverity-ID: 1226941 > Signed-off-by: Gustavo A. R. Silva > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 6788a3832c70 ath9k: remove useless variable assignment in ath_mci_intr() -- https://patchwork.kernel.org/patch/9810609/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches