Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1783858imm; Thu, 20 Sep 2018 02:51:38 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYkSVxghh/DL1P6X10cGc2GPFAGfOXFm0mHfl8zrBp3r48rrcdNOvL7gZiMCq2VctEn/LSz X-Received: by 2002:a17:902:47:: with SMTP id 65-v6mr38001298pla.293.1537437098727; Thu, 20 Sep 2018 02:51:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537437098; cv=none; d=google.com; s=arc-20160816; b=SD9QJQ/CXv6Q8cJVjlQng56jPtOTiaWZONWHQzuNhMPCQZNtu/8ommLEHKbw/xLeX4 I5F6JUOOYA70qZgnjk+hPvo5BwJWBSRrOA23znMaAcGHuh1pJQYUcMphC76E79lHfcsh WrMEtK7H63rJ0qIDJxzOZ4Nmez9TkLHbydrCqEUxKs3rHVXHGUOHWNBasP7ciBd4uXFM mAVax8SqXK3HnqZ4SASlHtWNDEiPVMoaejvi6fjIluQnLkrMvKw9DNAnH0DgKHxTrlrG 0Ec2PIvCqW7LI7634+IMAHhukh5+ln+Fg+i44ZZ8fF5dB+cpXRjo5J7Pe0Z7txfkLTaM MFYw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=HqpwcnAl+Xo45jX0KpKmdqRf5UVh/kqIgJH9ilZLAUQ=; b=Z9HdpLjIkWTBQ2MBP66611x6sdvZn4nZ2NfRxuItQt8Vq6GiQlZjNYJPa1CJPqHCLR 2jIzwCoQ6tybxu20HLqQz3qe+cAH9ZBASgp5hJBJ2b+N49T8c6vagSZBStAl8Df7Tilg egStG+gStArQLm9UYZNetQVcWtkU/06AmRHu6QvG/hs1timllqm8zkFuGrJLyxCHBXDv 2aBnL18FgqmBcpU6l5YuiEKP1wxon0Vf+OMG8Zdvh6mg0aKdNUiMW/A5e+5iCRL0o6QE 6B55GFZXFWKI5ouC0PngWGCjt7T7t8qB9EhJQthn5vUvv3AnwSSyUyNrSoFF+8c+7UoW 5nFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=WCSAUX4X; 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 y5-v6si23131463plt.438.2018.09.20.02.51.23; Thu, 20 Sep 2018 02:51:38 -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; dkim=pass header.i=@cogentembedded-com.20150623.gappssmtp.com header.s=20150623 header.b=WCSAUX4X; 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 S1731861AbeITPcM (ORCPT + 99 others); Thu, 20 Sep 2018 11:32:12 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:43928 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729095AbeITPcM (ORCPT ); Thu, 20 Sep 2018 11:32:12 -0400 Received: by mail-lf1-f66.google.com with SMTP id x24-v6so7735003lfe.10 for ; Thu, 20 Sep 2018 02:49:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=HqpwcnAl+Xo45jX0KpKmdqRf5UVh/kqIgJH9ilZLAUQ=; b=WCSAUX4XG/MCwGudyFuLJ521opbYReSxyNnUn6WUtwnzaAHvw/sH9ioqF4XPXNRjBh dkGHNG6x6NyOTRWhtKQiGPwOHwkCufiVUwjRdy5U5mgQSHAcDaK6zlbjjnd3bdHlg1or DHyxq9BWVPXkM8bHkMvXzfgZS0Nk+JKr+6B/8bHdWstC14a6IOOC2oEjldNSAsizvh15 qKXepCkU+h/Q4IcwLLeTv8pjjFF0pl0sKd+af4qx3lMNtRW6W2Xoo6o/55YOxKVR6FnE lXhAZe6NFnK5WaHJG96zJc28IxPtFUhPsTbsrsF27TRTiamTA6cUUmbhUdacOCmJpiB/ 8wig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=HqpwcnAl+Xo45jX0KpKmdqRf5UVh/kqIgJH9ilZLAUQ=; b=dgBUrbdujY0KBxiWy77tBFFB2JD/nMjVLrubN88wgjqrtoeu3iNSxktUBm9CdaaAPU bY1NFORhBqnPJiFnkYUq8jk+/Fm4lqV9zzeiSr5k05sVKcMoTHs9DAMWBKE8ewMnFys8 NayuP8GWYMSy9iAIg8clTYUyj9y/QKGwDeed5W/mxswX+ahKgBp1FVhlGW9VbF6cex4d cp+cB87N42UT57YtL7ObfPjziNuQJzeexPBX90FHBMz/cC9Owu+dT3tQuRxZGuXK3GsH 6hTwGuyDl8KnNwUvdbl58L+1Wl6p2dtvDBeT5iXAZZ60ImtBeh9hAJ4s5ZCrqY5yX/lv UMnA== X-Gm-Message-State: APzg51A55qp90Gewpz2JSwrVjZdWrg8YqHs+A/QHU1dHv+rXiIQoFmy8 7UTcRZEhmzF+o4T/qH0Wsfm8RGBmxUc= X-Received: by 2002:a19:d808:: with SMTP id p8-v6mr25418718lfg.105.1537436973036; Thu, 20 Sep 2018 02:49:33 -0700 (PDT) Received: from [192.168.0.126] ([31.173.87.42]) by smtp.gmail.com with ESMTPSA id 17-v6sm4412016ljs.32.2018.09.20.02.49.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Sep 2018 02:49:31 -0700 (PDT) Subject: Re: [PATCH] net: ibm: remove a redundant local variable 'k' To: zhong jiang , davem@davemloft.net Cc: dougmill@linux.vnet.ibm.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <1537366995-59168-1-git-send-email-zhongjiang@huawei.com> From: Sergei Shtylyov Message-ID: Date: Thu, 20 Sep 2018 12:49:29 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <1537366995-59168-1-git-send-email-zhongjiang@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! On 9/19/2018 5:23 PM, zhong jiang wrote: > The local variable 'k' is never used after being assigned. > hence it should be redundant adn can be removed. Can. > Signed-off-by: zhong jiang [...] MBR, Sergei