Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp156931ybj; Wed, 6 May 2020 14:01:27 -0700 (PDT) X-Google-Smtp-Source: APiQypLk0biBourDI/5P5jJ/bBZIUZPiHfWz5jwSFNaVHmoLCvl+r2i/uY+4E2qQPNX5uCLnUH54 X-Received: by 2002:aa7:dd14:: with SMTP id i20mr8702398edv.225.1588798887236; Wed, 06 May 2020 14:01:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588798887; cv=none; d=google.com; s=arc-20160816; b=aJM+bxKGtePAa9Be+qVbgVPu2fHGD2vu5scI5jsazLpKFdNGvBgaGQLnSeYXVHAJnM c7UAN3BBOZufZ9tYSHH2wAiq+pRPa1j0dDPuyyfNYgi5f/oYT7qVCrFaoCj0kAn85+B2 JX5YvbXgOrO04qp81h24MxncfkwL8ECF8ZL5hiyqQVgu74im/exQkmUTtWGNEABvw+uy hDdHPHH7wqqHPM2yICPGZkV7vSvsuBxUNenauyYk13DL4u1x49jEPn1OewSfY1LD21ja 14Yg+SsLLoeE01Xl1gdEA25xGYijle1bzTw74My1awZBTPaU02kAkK5KFcZprWRRw8xY u8ew== 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=4NMQ72u1LYIQC/tISuJAQ5BucqqfyNplsE3c1AfCs2k=; b=oQvjXr6UZpPaRYYuMWXSz8uZpdbCb1I9rxlg5Zj4kU2r5LwCvYTQ9XOiKYNOfK1crT yHeatuIfXt710JmWLJwKSVc3Vhi9aWsCZyrooMMH1lAP3h5m6MQKOaSv5OWGjRzAf2o+ I38eS27qVxfZgaipf1bDZcAmie3rXZhmH4VVBaCX3xZWW6+qk1nG3GtSBTOgSpMzm11B bToxZzb0ZhlOoEILB55UW9/pl5fv1hLM/IKEdVEMlhZc7tI4l5iyYM5PMMQoINpd50vW 4MFoHCK4dBIRvYGS1KMtK92ddts2WEAfvYi+t3XEdJjZ+Md+Vxkp6br0qzLYDqbmJiwK mJJg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d13si1878377eds.361.2020.05.06.14.01.03; Wed, 06 May 2020 14:01:27 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729317AbgEFU57 (ORCPT + 99 others); Wed, 6 May 2020 16:57:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726815AbgEFU56 (ORCPT ); Wed, 6 May 2020 16:57:58 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC617C061A0F; Wed, 6 May 2020 13:57:58 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::d71]) (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 2E9EC1210A3F3; Wed, 6 May 2020 13:57:58 -0700 (PDT) Date: Wed, 06 May 2020 13:57:57 -0700 (PDT) Message-Id: <20200506.135757.899774547217843583.davem@davemloft.net> To: yanaijie@huawei.com Cc: tariqt@mellanox.com, ast@kernel.org, daniel@iogearbox.net, kuba@kernel.org, hawk@kernel.org, john.fastabend@gmail.com, netdev@vger.kernel.org, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH net-next] net: mlx4: remove unneeded variable "err" in mlx4_en_get_rxfh() From: David Miller In-Reply-To: <20200506061630.19010-1-yanaijie@huawei.com> References: <20200506061630.19010-1-yanaijie@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.3 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, 06 May 2020 13:57:58 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jason Yan Date: Wed, 6 May 2020 14:16:30 +0800 > Fix the following coccicheck warning: > > drivers/net/ethernet/mellanox/mlx4/en_ethtool.c:1238:5-8: Unneeded > variable: "err". Return "0" on line 1252 > > Signed-off-by: Jason Yan Applied.