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 70A0DA0579; Sat, 24 Apr 2021 21:24:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DBF634013F; Sat, 24 Apr 2021 21:24:07 +0200 (CEST) Received: from mail-qv1-f51.google.com (mail-qv1-f51.google.com [209.85.219.51]) by mails.dpdk.org (Postfix) with ESMTP id 64DC440040 for ; Sat, 24 Apr 2021 21:24:07 +0200 (CEST) Received: by mail-qv1-f51.google.com with SMTP id j3so25448702qvs.1 for ; Sat, 24 Apr 2021 12:24:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bXusQw9axrviInxY20EjHBd5k/im3BNv0b6r0INNqso=; b=B8q2RbNZskdUfj0cLZ+5Wz+uUHR3t9e4KEsFgu5/zRVeY3drCSNRwwbwVIz49tz6GC TcVs84W9DJyRo0OBPjeBC9dPmJILavV1R5cpX9L3h6ZgoeB+nJHfuj27gUIe7CtG1A39 pbCsauBEWEY0awOZ10OO4xfwhtpYyck8YR8EQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bXusQw9axrviInxY20EjHBd5k/im3BNv0b6r0INNqso=; b=Ap2epxzaE4DkfL2flDpfc0+RNeuU9sdM8W9G7JvpDFWPzvq0Uh5+H8lFNgcQqRZtif VLdsvVEh7sqnUSJg4n2j7osSi/rp5f7PGrXFPG6KGMxNqLnXayCI4UaZ5a5asSFsfWiW kqYUeFT9cPJEk97aJ28dvy97gdU0ZAZtT23ibQD4dVIm8tg57hO9Pu9EBDRyfxhBxnaM kVReGDAr6odMvNrmvNxTh2dlcZu50K5B54vyvEzVXU2s9YtxT1kCKyA5NjqO7cz24w9A xspeod8jHJQMqGUh7kkO7timOqARSQRcRnyM8ZksI1fPIAnU6QOGcGoCNiKFwzKuHYRt NaPw== X-Gm-Message-State: AOAM530h/WNZE6PNyaJGaITEcmnlfxqWLz+93zTrwhazn3duY7AQvrkS 66+RU5nktw7QIwhzoSj4R5pvlXbk1hQ/afKS7ePYlQ== X-Google-Smtp-Source: ABdhPJwSKXSw2xXojRb2dV0HwBrKjoLlinCq+/fV1QoAUUvroSxkdS9BFHgBiYYCniWtZHrI+m2wpGN1eC1WYM16PwI= X-Received: by 2002:a0c:ed51:: with SMTP id v17mr8526011qvq.30.1619292246644; Sat, 24 Apr 2021 12:24:06 -0700 (PDT) MIME-Version: 1.0 References: <20210423052226.13592-1-kalesh-anakkur.purayil@broadcom.com> In-Reply-To: <20210423052226.13592-1-kalesh-anakkur.purayil@broadcom.com> From: Ajit Khaparde Date: Sat, 24 Apr 2021 12:23:50 -0700 Message-ID: To: Kalesh A P Cc: dpdk-dev , Ferruh Yigit Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="0000000000002ade0105c0bcdb1b" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH] net/bnxt: drop the unused attribute X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" --0000000000002ade0105c0bcdb1b Content-Type: text/plain; charset="UTF-8" On Thu, Apr 22, 2021 at 10:00 PM Kalesh A P wrote: > > From: Kalesh AP > > Remove "__rte_unused" instances that are wrongly marked. > > Signed-off-by: Kalesh AP > Reviewed-by: Somnath Kotur > Reviewed-by: Ajit Khaparde Patch applied to dpdk-next-net-brcm. > --- > drivers/net/bnxt/bnxt_reps.c | 4 ++-- > drivers/net/bnxt/bnxt_stats.h | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/net/bnxt/bnxt_reps.c b/drivers/net/bnxt/bnxt_reps.c > index b224a7d..bdbad53 100644 > --- a/drivers/net/bnxt/bnxt_reps.c > +++ b/drivers/net/bnxt/bnxt_reps.c > @@ -104,7 +104,7 @@ bnxt_rep_rx_burst(void *rx_queue, > static uint16_t > bnxt_rep_tx_burst(void *tx_queue, > struct rte_mbuf **tx_pkts, > - __rte_unused uint16_t nb_pkts) > + uint16_t nb_pkts) > { > struct bnxt_vf_rep_tx_queue *vfr_txq = tx_queue; > struct bnxt_tx_queue *ptxq; > @@ -548,7 +548,7 @@ int bnxt_rep_dev_info_get_op(struct rte_eth_dev *eth_dev, > return 0; > } > > -int bnxt_rep_dev_configure_op(__rte_unused struct rte_eth_dev *eth_dev) > +int bnxt_rep_dev_configure_op(struct rte_eth_dev *eth_dev) > { > struct bnxt_representor *rep_bp = eth_dev->data->dev_private; > > diff --git a/drivers/net/bnxt/bnxt_stats.h b/drivers/net/bnxt/bnxt_stats.h > index 0ee2269..ee6b1be 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 > --0000000000002ade0105c0bcdb1b--