Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1526692imm; Wed, 19 Sep 2018 21:27:17 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZCflJ8gjUI2ORZ+7IB4ahJ4d8MpHBsCKDjJNNmCYU0YYvk+C5YvnaUyBchzlwHBWk61g16 X-Received: by 2002:a17:902:127:: with SMTP id 36-v6mr38145396plb.178.1537417637195; Wed, 19 Sep 2018 21:27:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537417637; cv=none; d=google.com; s=arc-20160816; b=m1AXCgnLpUi02eZXFiqo+v8uPL6a3KRYreptq3cM2vBFFUIvMtk68HiAuI3xilh6ZA RWoETtYw1ObkgfC7tFG0O9GIHbhheQ1qH59omx7T975JPRZ9ZwXoYDPfd69lBEqjYF9G ntJACdeih7O/CogMJxXIHCCaK8qKXjOa0+abSSrV1mE4Bpi1LCArN7bkwS2iheUybDue m2ADEW5A5QoSonBZYl7N8A/0nHDBjbtB5Fi90OAdrsXkbeSgrgZKGBo5sy58FzNSiMXm nplw0hesHAxGpQ6Q6SUejUpp/rBDueb48c9dGOgsidFx67mxfxgMXaGLzJ/77qhv4u/X squA== 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; bh=D0gZtYZx7Ymgmmkhv+B6AdSDuJogezGf8OK0u+AljCg=; b=iiGEm8i9RjKqnX5vhFwTrPdVUhP29X7EIzzqPwG0PDI/ZQNqidYY74oAvKtwB3qKIy DmPJ4VkXOvpSg0EWsCo7UXhSUPjc39VGiL9PN2AAoVT18u56bOp5OhuX82HR9JH5GzdE GW2HiUvbD8AMCQDqTalywlOLtGk5sZ6rJwNcKSaiytqo35pz/LhSKyH1Fd6hyOlJwZgs ee9xUEKL7WyzDEzVpljUzy/SAbywdMXOsVk52atLwo39hjDMAuIFSAIqQZtDeIaWhj2z NZyGK/VqYRCazIqaiIZB1BA25MTXU5ZlOLNUdezRhk0ksHS+ESOkW9b4B2ebTaYKB141 eVNQ== 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 p2-v6si23286528plk.247.2018.09.19.21.27.01; Wed, 19 Sep 2018 21:27:17 -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 S1731207AbeITKIP (ORCPT + 99 others); Thu, 20 Sep 2018 06:08:15 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:34464 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726180AbeITKIP (ORCPT ); Thu, 20 Sep 2018 06:08:15 -0400 Received: from localhost (74-93-104-98-Washington.hfc.comcastbusiness.net [74.93.104.98]) (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 D431310903028; Wed, 19 Sep 2018 21:26:51 -0700 (PDT) Date: Wed, 19 Sep 2018 21:26:51 -0700 (PDT) Message-Id: <20180919.212651.1641583690872852801.davem@davemloft.net> To: zhongjiang@huawei.com Cc: dougmill@linux.vnet.ibm.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: ibm: remove a redundant local variable 'k' From: David Miller In-Reply-To: <1537366995-59168-1-git-send-email-zhongjiang@huawei.com> References: <1537366995-59168-1-git-send-email-zhongjiang@huawei.com> X-Mailer: Mew version 6.7 on Emacs 25.3 / 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, 19 Sep 2018 21:26:52 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: zhong jiang Date: Wed, 19 Sep 2018 22:23:15 +0800 > The local variable 'k' is never used after being assigned. > hence it should be redundant adn can be removed. > > Signed-off-by: zhong jiang Applied.