[3/5] ark: remove register keyword
Checks
Commit Message
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(-)
@@ -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;