Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp826155imm; Wed, 4 Jul 2018 06:41:45 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcvum/zq0Scl8Vibo98B31dqQE7Pk/YWVnBC1pyHd24VWJR/t2KMHyow9yw8YE0AM2CuXPA X-Received: by 2002:aa7:810c:: with SMTP id b12-v6mr2229507pfi.79.1530711705114; Wed, 04 Jul 2018 06:41:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530711705; cv=none; d=google.com; s=arc-20160816; b=DTqCIZSB2VlWbg9G7SReV/tO2uU7euZ7S8An+d97Tedi5Culc7Ozeu3m6ErfGHpifQ vX4qEigZLwT7PMnnPXqCjNFT5TwPRpWPYFr1Jx3DodL1cqZajrJ70X2Komr6it8jaJ/c BmnE5Y7bwkJvhyesjggVyN6TXTG2jpdu4Q6zKavg80S2H/ERU/pbkvr0yuouf/BcHRgK TYvmRvJIe+LqQgJwJtNDL3VWN5g+Dn9kCDSRMg5/ZaaYtl7jRbtuVi2+JV95webTTGvZ FN9Symw7iHpTWO95rhSwOnW5jqqwMsKFOJUEWCnRj/4Egm59lGKB7CMstDpIK9fK6Y8p mrSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date :arc-authentication-results; bh=xKHLtbk5IMuvGWgeXl6qm6oLOGZEBCPUcGl374tvu/Y=; b=Ffo8oYCHCVt2w1XHh/ASrhwfFzmKhhHIfHi7YBU87tHNE0bKDzq44cIzmCBzxjRi0j RMXkmWDnd2tGjp0EvWjqtTIw7LcArPXfBWK73EU6SKVcAzVqrgUDnenMB4/ML7ra8EkT 52TORR9RLPtVIKq2jjxMUcKcdLOrSOHaH9JLoEzSVwQJjlpe6KdZU/M7MNzWhFOjd4Wa xQTRdmwieInWQj5IVf9Z6a4pTTgjGtsBH51PGpre1nYtuoQ0Vh3pbim0w6NQLuO0DRIS 8f4Q/cxFFhU+/V6OjTxhN3jT9p6fAqqHYS/K1JaBCOQqwhRT8Jey31R+4pUojKKCVw+V tOcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j135-v6si4102622pfd.207.2018.07.04.06.41.30; Wed, 04 Jul 2018 06:41:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932713AbeGDNkt (ORCPT + 99 others); Wed, 4 Jul 2018 09:40:49 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:37262 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752653AbeGDNkq (ORCPT ); Wed, 4 Jul 2018 09:40:46 -0400 Received: from localhost (unknown [211.196.191.92]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id D66A31094D773; Wed, 4 Jul 2018 06:40:44 -0700 (PDT) Date: Wed, 04 Jul 2018 22:40:43 +0900 (KST) Message-Id: <20180704.224043.1235205661791899520.davem@davemloft.net> To: colin.king@canonical.com Cc: fugang.duan@nxp.com, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: fec: remove redundant variable 'inc' From: David Miller In-Reply-To: <20180704074943.15820-1-colin.king@canonical.com> References: <20180704074943.15820-1-colin.king@canonical.com> X-Mailer: Mew version 6.7 on Emacs 26 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 04 Jul 2018 06:40:46 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Colin King Date: Wed, 4 Jul 2018 08:49:43 +0100 > From: Colin Ian King > > Variable 'inc' is being assigned but is never used hence it is > redundant and can be removed. > > Cleans up clang warning: > warning: variable 'inc' set but not used [-Wunused-but-set-variable] > > Signed-off-by: Colin Ian King Applied.