Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp674473ybb; Fri, 20 Mar 2020 06:16:33 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuCBqYTEyRZR4oJPxs0Hfrbbln3+yONI7SAdDteGbk9rjbtBb+VSZKpmLGgLMh6kJsjXyW2 X-Received: by 2002:a9d:2c64:: with SMTP id f91mr6875043otb.17.1584710193751; Fri, 20 Mar 2020 06:16:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584710193; cv=none; d=google.com; s=arc-20160816; b=tGJPd7BsqtYmHpovRtud1NU33JeiYb/uPQQTSq41ykOqZoEnG8V37anUU5CSwHbCSl lAIlb1NFeK0mkkdQNjsWo0b9v9LHoyEHDHosfp8oPo0UBwezJC1tXnxayY7+HQJuSFkx SuR1orCxZEamuCknHChYMln2502SjG7gsFZhSrSdzzshvB9N5lVT3YClerZoFMyKn57A FiDZw9DUJliFqhGSi0Gw7+Ewoo5Lpjuwpzzh6cLqy6LxXb5uT7GuC5SxRnDIDQDu9klB lAoP34jYA13kRYBe6EXAB0Q4XUmXs74usS5KzJ88wfXQIaKpb4nbELMesJiegRdYMh3S zjPw== 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:from:date:message-id:mime-version :user-agent:dkim-signature; bh=mj+mPOx49mvMn5UqX9Oy1oF60e1jGLIQt7Fz9oFtxdI=; b=xoRYzXg7y64kA5pYCbGHlAW41POA1Y9t3YuVJC6i6T3OwTJe0SkGkjJjb4gEmQIO2f WJ6ktzztk1rMUcT+uTDj8NoquGqorcxlP2UBGMDWiaOoA7tgA4npHSH6CmjmxpHsS1XB 22ScqIYcgVLjBYS/qUGshdBiI3ddFeaeBnrB+amCEWJkNiy3BCoHnyPD+e5EKYW37nIF DQmGWpJcDHtTsZJ4nocwRp45aeSObV6L06TbekoZ2LYfGKoKOkDd75Idcb+1YKGKeRyj ojp9MsC2jHVFtltmo79xjzNMxU5XDi4rt56MGRNCn6eDVN/laU4g3tG1RVAT848fv/UM 4fRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=BcRuWoVt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c195si2914725oig.142.2020.03.20.06.16.11; Fri, 20 Mar 2020 06:16:33 -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; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=BcRuWoVt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727145AbgCTNO5 (ORCPT + 99 others); Fri, 20 Mar 2020 09:14:57 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:51078 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726954AbgCTNO5 (ORCPT ); Fri, 20 Mar 2020 09:14:57 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 02KDCpNB053601; Fri, 20 Mar 2020 13:14:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=mj+mPOx49mvMn5UqX9Oy1oF60e1jGLIQt7Fz9oFtxdI=; b=BcRuWoVt1x10gOtlh0xk1020vWBIgssdfvPRrEpVgc9TpKVe9hWRKLVOjIbfNxXcLCnO R/W0OspeUvlyU9bW4UU/Ad6FFOe2JFr/FqqLhLdnS50dvnQeFDjRIxCeYQeGytGz6ACW Gafvf0MSfb3u1LOfDetfmFIGENNG099xQNNDBq71VAIh7laleIong0FYaRsmxD8Vd78x 4+fVegwenYoHu8h4Qzs9+uMyBaEoYZk0im63luIxD8xJGEIQzvrpfV0aYhADfk/AppD6 0mB8Ml2xCwtq1iUipekFp4i6lB5KzBv2BP/uiYCLk1T8n7w3lenxms/6rYhi/v4sW9Lu LQ== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by aserp2120.oracle.com with ESMTP id 2yrq7mdgjn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 20 Mar 2020 13:14:39 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 02KDCl4G063762; Fri, 20 Mar 2020 13:14:39 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3030.oracle.com with ESMTP id 2ys8ty2pmg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 20 Mar 2020 13:14:39 +0000 Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 02KDEbdh006265; Fri, 20 Mar 2020 13:14:38 GMT Received: from kadam (/41.57.98.10) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 20 Mar 2020 06:14:36 -0700 USER-AGENT: Mutt/1.9.4 (2018-02-28) MIME-Version: 1.0 Message-ID: <20200320131429.GH4650@kadam> Date: Fri, 20 Mar 2020 06:14:29 -0700 (PDT) From: Dan Carpenter To: Leon Romanovsky Cc: YueHaibing , Derek Chickles , "David S . Miller" , Satanand Burla , Felix Manlunas , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Hulk Robot Subject: Re: [PATCH net-next] liquidio: remove set but not used variable 's' References: <20200306023254.61731-1-yuehaibing@huawei.com> <20200319120743.28056-1-yuehaibing@huawei.com> <20200319121035.GO126814@unreal> In-Reply-To: <20200319121035.GO126814@unreal> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9565 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 mlxscore=0 malwarescore=0 suspectscore=0 mlxlogscore=999 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003200057 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9565 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 suspectscore=0 adultscore=0 bulkscore=0 mlxlogscore=999 priorityscore=1501 clxscore=1011 malwarescore=0 mlxscore=0 phishscore=0 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003200057 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 19, 2020 at 02:10:35PM +0200, Leon Romanovsky wrote: > On Thu, Mar 19, 2020 at 12:07:43PM +0000, YueHaibing wrote: > > 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 > > --- > > drivers/net/ethernet/cavium/liquidio/lio_main.c | 5 ----- > > 1 file changed, 5 deletions(-) > > > > I'm sorry for missing this warning. > The warning is not enabled by default. regards, dan carpenter