Thread (18 messages) 18 messages, 9 authors, 2019-01-31
STALE2694d

[PATCH 3/5] ark: remove register keyword

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2018-07-31 16:31:07
Subsystem: networking drivers, the rest · Maintainers: Andrew Lunn, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Linus Torvalds

No need for register keyword with modern compilers.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help