Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3617291pxk; Mon, 7 Sep 2020 20:03:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWnaJf2DBP75ZN4X69K46euEYrGsIly4b4QXEDWlvtoituDIAglR5qINz/ltumKG4bjhPX X-Received: by 2002:a50:fa94:: with SMTP id w20mr24077858edr.206.1599534204996; Mon, 07 Sep 2020 20:03:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599534204; cv=none; d=google.com; s=arc-20160816; b=Cqh/UWdzaEQ0jtnAmhp2NTfakhfnH0xNAOKhxTUbjw7OFQj3h3MpPW/tT3cHfUF7nC Xafg6JtwUlp9M5fa4ZyLVgBeLmGqTRn6MUk7fWEuNvVKRREcufiIIExM2doS8rh1F/nj ddBKqkbExuehtN1+cPeg9Wqyt5qx/Etoyd0Xgggn6HKWJzpGCyV7XW5IFTFofYpSD6FD OfJn1WGm8IKy6HuGJ8v//UcoYPWzcbiWm+E1BZk4BNnPpHY/DHF+kIg5qcHNfddmKqgA BwKKQzq/gghrK7SdAjYv3zlbfCtPx93z0HH6isLb7MLorsWMV8a/WHcNG+bj1/70m6aU sB6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=w0Le2yHt9tN6FaVgQq/Y2CffUVHO4WYYS/ZucPej+kY=; b=O/K86e0DSyqPn6ydTsWLisLMBhvnx8yVY5+LuJjm7Mg/0WzKBaWwpJn1jLeU2j1fnb fetnAlVhwSIK6DVsOTX/tzAvlQCf7cYHl2hY48Oh3vEifkvJrJ/bkh4SIIijTxvo67UK ul4DYQ0OZu17+jlM5aG8HiJGaf3RirdKruoK+mg2EX9ffp3jZc69bcxbwSc/oJNLuLx6 F20HpFkCBz7FwjnHC/W0N4ZEprZixpmMFVh2ZQ6ysmyVatFXPDxRZUZb4f/5vFjbo1vL RUOOgdJTprcxIW1y0kX45p6PykVRitD6ihmUxpKYwymyd9QQ1MFHsr5UYlN9ZtyZcGLk vm9A== 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 yc15si8673149ejb.674.2020.09.07.20.03.03; Mon, 07 Sep 2020 20:03:24 -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 S1728465AbgIHDCa (ORCPT + 99 others); Mon, 7 Sep 2020 23:02:30 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:11251 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728334AbgIHDC3 (ORCPT ); Mon, 7 Sep 2020 23:02:29 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 99147ED2B7099DB0F9BC; Tue, 8 Sep 2020 11:02:27 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Tue, 8 Sep 2020 11:02:20 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH net-next 5/7] net: hns3: remove unused field 'tc_num_last_time' in struct hclge_dev Date: Tue, 8 Sep 2020 10:59:52 +0800 Message-ID: <1599533994-32744-6-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1599533994-32744-1-git-send-email-tanhuazhong@huawei.com> References: <1599533994-32744-1-git-send-email-tanhuazhong@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 'tc_num_last_time' is defined, but never used, so remove it. Reported-by: Jian Shen Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h index 33e1af1..3975332 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h @@ -749,7 +749,6 @@ struct hclge_dev { u16 num_tx_desc; /* desc num of per tx queue */ u16 num_rx_desc; /* desc num of per rx queue */ u8 hw_tc_map; - u8 tc_num_last_time; enum hclge_fc_mode fc_mode_last_time; u8 support_sfp_query; -- 2.7.4