Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp243131ybb; Thu, 19 Mar 2020 21:01:03 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtEiHpD1JlPet2FadAjnmJHX8JXkR/sVvSQVm1uFMgzXsX6ubOTNWNTHtR1sanRmc0kx49L X-Received: by 2002:aca:6056:: with SMTP id u83mr5013510oib.95.1584676863597; Thu, 19 Mar 2020 21:01:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584676863; cv=none; d=google.com; s=arc-20160816; b=nAyr7O5Gvl44Xh93njaIk/xc72P+u+BYt7H27zPzXBsxN/RyIS9gnHoCie++ARw84J ZjziXi3NDs24XNmtx+VuJO4MujQu7gTrVgh3GTN5l/MRybT92njpdduElfhuWK5XCeAv CjX+jaYAKwNhkQMdrlu989Mv1ZoCBfMX+sJRQUz2BeBRr29OWl4Uot3/gGWBxabR3Ret scVFZPr9UpTwsNQFxMgQWOVqUyquqetsJBr0D/ycI1OOxZG2DeeseTIL1UwUYamOzf6A xRmtN4fC72kHD1+4Lf2x8DdjiwssMnffbJ2HgKYHKHnjqiBrsUsSSOUe67Phla8rFmLQ zBWw== 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=zCrwtSjgE2ZhK48p8pt+K7j0ftwGjBJj0Etx2e18paM=; b=uMjq3QJH04Z5EJlMhg/WHBJLQiseo0SzdHtZfP69OohGiUHz11pvLCuT1s+Qr2kTvc DY0knBp6imF+BNtdHkhme1cpGJGW+BE55siZgKXcV4qu7rWNc+psOEBvlo7AFY+98KhH Lm/cjOBU054tMWaomoxSXJFqkHptscymIwsRFwcgqZh00BhXCjx+EOETxQghKPUMsmc6 OIMkEw8CEmv6YMWiGGYPqMp0y6SCHLfz7H3/os4R78swlXCTV7+ytEsnBRjGkjVHLejW eB6P5EgjLTfLOI5yCTVc33J25fruTDopjrdwuX5Nf6w7Y4OY7mBR5XVLLobWmq+zxbbI UVZw== 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 131si1867842oid.75.2020.03.19.21.00.49; Thu, 19 Mar 2020 21:01:03 -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 S1726527AbgCTEAd (ORCPT + 99 others); Fri, 20 Mar 2020 00:00:33 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:46598 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725446AbgCTEAc (ORCPT ); Fri, 20 Mar 2020 00:00:32 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:477::3d5]) (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 E2440158F78E4; Thu, 19 Mar 2020 21:00:29 -0700 (PDT) Date: Thu, 19 Mar 2020 21:00:26 -0700 (PDT) Message-Id: <20200319.210026.1097328564068541611.davem@davemloft.net> To: yuehaibing@huawei.com Cc: dchickles@marvell.com, leonro@mellanox.com, sburla@marvell.com, fmanlunas@marvell.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, hulkci@huawei.com Subject: Re: [PATCH net-next] liquidio: remove set but not used variable 's' From: David Miller In-Reply-To: <20200319120743.28056-1-yuehaibing@huawei.com> References: <20200306023254.61731-1-yuehaibing@huawei.com> <20200319120743.28056-1-yuehaibing@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.1 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]); Thu, 19 Mar 2020 21:00:30 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YueHaibing Date: Thu, 19 Mar 2020 12:07:43 +0000 > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/ethernet/cavium/liquidio/lio_main.c: In function 'octeon_chip_specific_setup': > drivers/net/ethernet/cavium/liquidio/lio_main.c:1378:8: warning: > variable 's' set but not used [-Wunused-but-set-variable] > > It's not used since commit b6334be64d6f ("net/liquidio: Delete driver version assignment") > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied.