From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 65E46A0A0A for ; Thu, 20 May 2021 11:55:27 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 596004069B; Thu, 20 May 2021 11:55:27 +0200 (CEST) Received: from relay.smtp-ext.broadcom.com (lpdvacalvio01.broadcom.com [192.19.229.182]) by mails.dpdk.org (Postfix) with ESMTP id AE1FE410E9 for ; Thu, 20 May 2021 11:55:24 +0200 (CEST) Received: from dhcp-10-123-153-22.dhcp.broadcom.net (bgccx-dev-host-lnx2.bec.broadcom.net [10.123.153.22]) by relay.smtp-ext.broadcom.com (Postfix) with ESMTP id 5C5C87A20 for ; Thu, 20 May 2021 02:55:23 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 5C5C87A20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1621504524; bh=wdOT7zjg4PP6XB1o3F0TPuVUNW/kF3xSFigV8vk/9IM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=MdLDIZvTKdFkhp9lw9CXfwRJisvZ/PVjiVggmgqqnDjpbFNfWoonJuzuXAPuWGG9q YIcX8TO9QxUlih0BPn9duDU7o5kHeD41yWiY2kcjq0ZIgpdRwx1arT1F9XikGmScDx SgwVfbypuL5YD8j+AjZD5dPIoU2o1g4Fiwkbl2j8= From: Kalesh A P To: stable@dpdk.org Date: Thu, 20 May 2021 15:46:47 +0530 Message-Id: <20210520101654.3214-3-kalesh-anakkur.purayil@broadcom.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20210520101654.3214-1-kalesh-anakkur.purayil@broadcom.com> References: <20210520101654.3214-1-kalesh-anakkur.purayil@broadcom.com> Subject: [dpdk-stable] [PATCH 19.11 2/9] net/bnxt: drop unused attribute X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" From: Kalesh AP [ upstream commit 4f28d9a1a62cd3b5083e38117eb255431ad520ae ] Remove "__rte_unused" instances that are wrongly marked. Fixes: 1bf01f5135f8 ("net/bnxt: prevent device access when device is in reset") Signed-off-by: Kalesh AP Reviewed-by: Somnath Kotur Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_stats.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_stats.h b/drivers/net/bnxt/bnxt_stats.h index 7e11efe..591c55c 100644 --- a/drivers/net/bnxt/bnxt_stats.h +++ b/drivers/net/bnxt/bnxt_stats.h @@ -12,7 +12,7 @@ void bnxt_free_stats(struct bnxt *bp); int bnxt_stats_get_op(struct rte_eth_dev *eth_dev, struct rte_eth_stats *bnxt_stats); int bnxt_stats_reset_op(struct rte_eth_dev *eth_dev); -int bnxt_dev_xstats_get_names_op(__rte_unused struct rte_eth_dev *eth_dev, +int bnxt_dev_xstats_get_names_op(struct rte_eth_dev *eth_dev, struct rte_eth_xstat_name *xstats_names, __rte_unused unsigned int limit); int bnxt_dev_xstats_get_op(struct rte_eth_dev *eth_dev, -- 2.10.1