From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH 3/5] ark: remove register keyword Date: Tue, 31 Jul 2018 09:30:57 -0700 Message-ID: <20180731163059.27085-4-stephen@networkplumber.org> References: <20180731163059.27085-1-stephen@networkplumber.org> Cc: Stephen Hemminger To: dev@dpdk.org Return-path: Received: from mail-pl0-f67.google.com (mail-pl0-f67.google.com [209.85.160.67]) by dpdk.org (Postfix) with ESMTP id C54F02BA8 for ; Tue, 31 Jul 2018 18:31:07 +0200 (CEST) Received: by mail-pl0-f67.google.com with SMTP id d5-v6so1860698pll.4 for ; Tue, 31 Jul 2018 09:31:07 -0700 (PDT) In-Reply-To: <20180731163059.27085-1-stephen@networkplumber.org> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" No need for register keyword with modern compilers. Signed-off-by: Stephen Hemminger --- drivers/net/ark/ark_ethdev_rx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ark/ark_ethdev_rx.c b/drivers/net/ark/ark_ethdev_rx.c index 16f0d11ecac5..19e10955103e 100644 --- a/drivers/net/ark/ark_ethdev_rx.c +++ b/drivers/net/ark/ark_ethdev_rx.c @@ -236,7 +236,7 @@ eth_ark_recv_pkts(void *rx_queue, uint16_t nb_pkts) { struct ark_rx_queue *queue; - register uint32_t cons_index, prod_index; + uint32_t cons_index, prod_index; uint16_t nb; struct rte_mbuf *mbuf; struct ark_rx_meta *meta; @@ -364,7 +364,7 @@ eth_ark_rx_jumbo(struct ark_rx_queue *queue, static void eth_ark_rx_queue_drain(struct ark_rx_queue *queue) { - register uint32_t cons_index; + uint32_t cons_index; struct rte_mbuf *mbuf; cons_index = queue->cons_index; -- 2.18.0