Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp368689pxa; Fri, 14 Aug 2020 06:37:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw+yMqxO7iHkCK5CXP4ITSmi9SmTJL9fKixFi0PnrULWxRyIBqoEh5cPifFWQj93En9kuY/ X-Received: by 2002:a17:906:5f8a:: with SMTP id a10mr2535272eju.379.1597412271767; Fri, 14 Aug 2020 06:37:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597412271; cv=none; d=google.com; s=arc-20160816; b=E8XGj9ZnKOcUtQlYw4wCWAi8UaMS6WxEP8y3XYJi6SzkGNE8x8IY/RCaP2h4EZQujj byazUmaXtBDOxYepZWiYdPtKdZatNyLzg2v1T36D1kxAYi8bcg4XJ7U8P0fE6aVkxtWj U/pfNKPFR1spQASSlaLFdpNDYFoMuSj/ckN1ysjJJ6Ziv3YS5XbmEfNw4COibGyGfd/m 3ZIOncMTKxXDhYW8xd6Dbq44prc+swR8Z3cT/KdxhQWnsjgV8o9gCOVg6jbvZ5787B+u aKJ540HRNBPoorFMP7a0nzE3W0tZmRheREdvhjx7jYc2zuzyqbyGQ4qEGprn3KP6xawb o4YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=bltJu+s2hPJZHW8MjULzLyyQBx6xiDNXhsH1ddXVBOM=; b=YJR7W3V4mcVMsIFrR+qzz7l5ysUZNaVh7KGDZbOZNGyDiWh1l4hsX8f3TLg8z+jlHl aRDNabVzo8u+Ol1mQawrek29BiFbQXgwxnKHlrbOVwo8ro4CQNbGYK9CDLXxr4he3tVi PI1s4jt4FKTu9Zy0hLuLoekdpjO4xHQ64YvAgmxtSsJ5mXqLlhG7pTpJ1W0ZWIuyQFTK HV1tlxqaEakSJWAyb1fxt6GoLOrmKFZJltjCGCO/yhBz5lWR96/w+pkFuFPQYHDJLsi2 XB83xv4MSD09zoAzo80SBSf8so+eVvcgyMK6XL+qnNold22OnkEtdthVKWMZUUjlhH2e nNew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mRrqSCDY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk10si5360194edb.585.2020.08.14.06.37.29; Fri, 14 Aug 2020 06:37:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mRrqSCDY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727850AbgHNMmq (ORCPT + 99 others); Fri, 14 Aug 2020 08:42:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:52790 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726209AbgHNMmp (ORCPT ); Fri, 14 Aug 2020 08:42:45 -0400 Received: from quaco.ghostprotocols.net (177.207.136.251.dynamic.adsl.gvt.net.br [177.207.136.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 07B4A20866; Fri, 14 Aug 2020 12:42:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597408965; bh=v6BupMXhSJGsud9dXh3OevLWR5gn2Z7rdfjyxsqbWg4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mRrqSCDYom6Bm8EVKW1i3eFVe8yxd1slDYKclxYXhVJ+V1iW9FWqtdN9/oMfFYD2X ve31bFp+wv4GwRafi2NBpVjbjdXYITmrIRpiRduYpeuUYRmvl8lNe1wSwdiQgnE+g8 OLOGPxPXLM/Yir2pBm97QPChB07NJrPVppDifL4g= Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id C9B3F40D3D; Fri, 14 Aug 2020 09:42:42 -0300 (-03) Date: Fri, 14 Aug 2020 09:42:42 -0300 From: Arnaldo Carvalho de Melo To: Peng Fan Cc: Peter Zijlstra , Ingo Molnar , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf bench numa: Remove dead code in parse_nodes_opt() Message-ID: <20200814124242.GE13995@kernel.org> References: <1597401894-27549-1-git-send-email-fanpeng@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1597401894-27549-1-git-send-email-fanpeng@loongson.cn> X-Url: http://acmel.wordpress.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Aug 14, 2020 at 06:44:54PM +0800, Peng Fan escreveu: > In the function parse_nodes_opt(), the statement "return 0;" is dead > code, remove it. Thanks, applied. - Arnaldo > Signed-off-by: Peng Fan > --- > tools/perf/bench/numa.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/tools/perf/bench/numa.c b/tools/perf/bench/numa.c > index 5797253..70c8c2c 100644 > --- a/tools/perf/bench/numa.c > +++ b/tools/perf/bench/numa.c > @@ -729,8 +729,6 @@ static int parse_nodes_opt(const struct option *opt __maybe_unused, > return -1; > > return parse_node_list(arg); > - > - return 0; > } > > #define BIT(x) (1ul << x) > -- > 2.1.0 > -- - Arnaldo