Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1601183imm; Wed, 19 Sep 2018 23:09:28 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbiGvEfxVT1j0iB1cpTfs1ibu01JlJ1IZOmugjHOBsTRxysFBcgRUzwWIXtDPo5M+7uXG6P X-Received: by 2002:a62:642:: with SMTP id 63-v6mr39833535pfg.42.1537423768895; Wed, 19 Sep 2018 23:09:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537423768; cv=none; d=google.com; s=arc-20160816; b=ybcug/aN7p3N1lN2Fsw/3bkIsorlXuoRIpzI+NQcygssm3Psks3ZUqg4iJcIWZzteO SZTcfJ6kOfGzAIPR2msA7oDT7Qd7p1as9s7Puoq3WE2towXNkcku772ixPnVAYCn0Oab Tnjy9o3AeFujAalb+0FcJLOARJi2XSTcK4EC/5neQfb2VOSxfGYD3HXqYzSp4pL+2j45 qYICb9KyOksQ4oowwA44gYBiNF4Yx8686YavrXW6IChBgr8BuaGQObvSyGsv8LdNhImC IkMMy9dQa/9WUbJyTl6TFfcnFF+6qsEhTZ+LAJAGmHjcZo7zCCRk7SusK3yaTl7evp3Q wviQ== 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=/E5o7B+6QYxCGn52PpPuXEIyeZ+U/srRySjzw+TqneQ=; b=NZEt/UNGgVlpJXth570Knyj38xvfgQcsIFike7FAwpnevLB+dJheD4olERm4aOxqEQ 4WxfLwbWC8j4My4TQml9COkrM4cli6sRzYHHiaTrxZuLDrysyN3ggDrbAcmy+UuRKGHP DlQ1pFDJIcGwT9/PKfrNA0puBXj75G9ASpFzcf4+yrp3YjtZvq0CrQnSTmnn94OAY+JG n9wP//QTKEPsZctj5TfMW+rsamSTOKLpuCDqkvdE44wqPU5XHI6vobMIe0dwS5sa18jJ ytWWaN35XJhhAjY93hCOU5rmiS+q/j1dDcPDIMHLk7Fzg5EIhBJV7NrfNAtdmdQCgunc n9HQ== 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 z63-v6si23203233pfi.214.2018.09.19.23.09.13; Wed, 19 Sep 2018 23:09:28 -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 S1731771AbeITLuq (ORCPT + 99 others); Thu, 20 Sep 2018 07:50:46 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:35442 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731260AbeITLuq (ORCPT ); Thu, 20 Sep 2018 07:50:46 -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 2D925146CD415; Wed, 19 Sep 2018 23:09:02 -0700 (PDT) Date: Wed, 19 Sep 2018 23:09:01 -0700 (PDT) Message-Id: <20180919.230901.976177337563095859.davem@davemloft.net> To: zhongjiang@huawei.com Cc: benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: toshiba: remove a redundant local variable 'index_specified' From: David Miller In-Reply-To: <1537408565-22315-1-git-send-email-zhongjiang@huawei.com> References: <1537408565-22315-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 23:09:02 -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: Thu, 20 Sep 2018 09:56:05 +0800 > The local variable 'index_specified' is never used after being assigned. > hence it should be redundant adn can be removed. > > Signed-off-by: zhong jiang Applied.