Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1885051imm; Thu, 20 Sep 2018 04:35:50 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbavu2KTUSwbwg2iXOZvn3leqsK8C4LcZwT7cknxGR1Hx3jU64XalMf5pu5N4stOcdNyzzR X-Received: by 2002:a63:e70a:: with SMTP id b10-v6mr2554199pgi.363.1537443350397; Thu, 20 Sep 2018 04:35:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537443350; cv=none; d=google.com; s=arc-20160816; b=DFtv9bFuDWLdMgr5Efoz5o9S8yKAemvH2OMBqx4osQXiCBSavzDyqwkDR9p+GsYnV6 VcWSOInFnoVLxYKWpe3e7cVXCxloB1BDi4Q8NmvaqKR9zSIoC2Q4bagiPdgNLqA+pqL6 lqASXi0p4A/e5gWN7pit5nHkMHeMpyxWOgvkkwkBD0nDjE1UFi/z+akS0tPE+AUuP/gI aowHbF6cv6VKdwAKbksq4nKmxParKvpT67Mph9gYdkWvlG3bV7NqexYWqkIOEwtVLU4A QO1DpDnbkFp6Rd5ZRRiLT1AINTHUGsUFam4TxKeNTqByLIphW5JD2m1pDxW1SO5eGTmN HjLw== 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:in-reply-to :references:subject:cc:to:mime-version:user-agent:from:date :message-id; bh=UCdjohPHTNcCGkBzUtx63Z6/dOvO2FcO+u9cV+1v2Vc=; b=deUGxKdkvpG6FJE/hXMEJN7RhO65llQuAv2rvjuTPjpFj0BEnovG9+ceBegvV84+5Y N3+ZQptQn/aJ6nSwVE/0qwaO0xTu4+kDd96BCBX71v2ruAdvyBsZXb8izQG9OvW9LkAI qF6MumPB2grno9z6p2hMSAlAOGEU3kANJfi8wkubjutbFbZj4jqybYFomf2hBY7RJ4vl fWC2joCpYPWy37nadK6FuWGZL/84dslDppd3yOY6kuzgIAf4VKfH7/n1JYA6Pu9HONb4 /plud9nKJ9l923fHfVRPne9fgUyyiuQNT6XZgNfuy74D9n2ivX/Q6kgTOos1mKWhFJiR AiwA== 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 o4-v6si21480859pgb.279.2018.09.20.04.35.34; Thu, 20 Sep 2018 04:35:50 -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 S1732555AbeITRSB (ORCPT + 99 others); Thu, 20 Sep 2018 13:18:01 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:36818 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727029AbeITRSB (ORCPT ); Thu, 20 Sep 2018 13:18:01 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id E5EFECB6DE9FA; Thu, 20 Sep 2018 19:34:54 +0800 (CST) Received: from [127.0.0.1] (10.177.29.68) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.399.0; Thu, 20 Sep 2018 19:34:53 +0800 Message-ID: <5BA385DC.6070302@huawei.com> Date: Thu, 20 Sep 2018 19:34:52 +0800 From: zhong jiang User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Sergei Shtylyov CC: , , , , , Subject: Re: [PATCH] net: toshiba: remove a redundant local variable 'index_specified' References: <1537408565-22315-1-git-send-email-zhongjiang@huawei.com> <17fba403-b5be-a406-bb25-4a0c2c4f27ca@cogentembedded.com> In-Reply-To: <17fba403-b5be-a406-bb25-4a0c2c4f27ca@cogentembedded.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.29.68] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/9/20 18:23, Sergei Shtylyov wrote: > On 9/20/2018 4:56 AM, zhong jiang wrote: > >> The local variable 'index_specified' is never used after being assigned. >> hence it should be redundant adn can be removed. > > s/adn/and/. > Spelling mistake. Thanks, checkpatch.pl can not find this. :-[ . I will be appreaciated that David help me correct that. Sincerely, zhong jiang >> Signed-off-by: zhong jiang > [...] > > MBR, Sergei > > >