From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by dpdk.org (Postfix) with ESMTP id 280262B92 for ; Tue, 31 Jul 2018 18:31:06 +0200 (CEST) Received: by mail-pf1-f194.google.com with SMTP id y10-v6so6365256pfn.8 for ; Tue, 31 Jul 2018 09:31:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Hi6Vb3fwPuDPHO/hqMOAMP/LvXRz0cmJ0yfjeMnkVqY=; b=ZXqxCf+6vg9LpaVrUkYc1qPPYPUT5DfW8+HHmiqR7xxuXosYL+n1AdQFhhkR2bsk5g fEORSrPF0B+NxdQWONRPdm8qKtT+Lb1RyVvLGs0fRNHudmClo79VaPinJDsB+ZO5vmvZ DSoEh/jnluMn78XE+MDaxeaDz3wEKhL2191FDogGi/2dTTMYJOY0QQCUgv1gEIc9O52V IcoirpSWBtarY3Nv+OrbUu6C65OH+xEWx9fC+Hz6XoaAPkll7sLfq6h4XlNI/UHPViwg q9dgGgmPh0gqcal4PB4Dv4LQlOUKKW54bqGF8DGehs7e/ZkoHm7GBE+ske80LC3LFRJx 4rfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Hi6Vb3fwPuDPHO/hqMOAMP/LvXRz0cmJ0yfjeMnkVqY=; b=Vqje+cWBkrJrF5bZ51yL+ZQq2uvnhMcWp1KLg+QlsxMXn/tc/muu3BFYRZFEAYeGRZ FENfwBC91QaNIiUnIMNiVrQLpwLhPN5+74uD+AO+12KV9UNHFu9kXa4wET4FHR1FVq2H TTZvJ5VTamuuQ2lXQVDgM9SSEWs0MQj74BIGwuh+Kr9bDhQK89aUhgOoq2ASeJXAOCTL 7aprP4VEPHLc2Gxa8mESg3EdHWwOjCYxiYXfqdmZ+JIcBwt41nlqg5ej66CXnHs6RhdL yVQkIClbwqIWVeeWlcA993lkV5l9AaMdg3SzltMAaD37gtWdDl5MvGdrT3xioWQoj/7S Hoyw== X-Gm-Message-State: AOUpUlG69HyWH7LyJjfEyo+i2z+HZoYPxEK3jBhwLKlQ73k4HWQ6cdxT JWmdphPCaLoXjhKHD4jqqT4FoYYvNeI= X-Google-Smtp-Source: AAOMgpfRDAMyuQjyJttSVCusEXGotkQulFaGK7MuOhif0f9JRpjcgZxOhB0Ge5gZfd2tl2q0yCNo3w== X-Received: by 2002:a63:4306:: with SMTP id q6-v6mr20498215pga.181.1533054665107; Tue, 31 Jul 2018 09:31:05 -0700 (PDT) Received: from xeon-e3.wavecable.com (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id g184-v6sm20661619pgc.22.2018.07.31.09.31.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Jul 2018 09:31:04 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 31 Jul 2018 09:30:56 -0700 Message-Id: <20180731163059.27085-3-stephen@networkplumber.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180731163059.27085-1-stephen@networkplumber.org> References: <20180731163059.27085-1-stephen@networkplumber.org> Subject: [dpdk-dev] [PATCH 2/5] qede: remove register from declaraitons X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jul 2018 16:31:06 -0000 Modern C compilers do register assignment automatically. Remove redundant register modifier. Signed-off-by: Stephen Hemminger --- drivers/net/qede/qede_rxtx.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/qede/qede_rxtx.c b/drivers/net/qede/qede_rxtx.c index 0f157ded23c8..2be7699d60df 100644 --- a/drivers/net/qede/qede_rxtx.c +++ b/drivers/net/qede/qede_rxtx.c @@ -1245,8 +1245,8 @@ qede_process_sg_pkts(void *p_rxq, struct rte_mbuf *rx_mb, { struct qede_rx_queue *rxq = p_rxq; struct qede_dev *qdev = rxq->qdev; - register struct rte_mbuf *seg1 = NULL; - register struct rte_mbuf *seg2 = NULL; + struct rte_mbuf *seg1 = NULL; + struct rte_mbuf *seg2 = NULL; uint16_t sw_rx_index; uint16_t cur_size; @@ -1305,8 +1305,8 @@ qede_recv_pkts(void *p_rxq, struct rte_mbuf **rx_pkts, uint16_t nb_pkts) uint16_t rx_pkt = 0; union eth_rx_cqe *cqe; struct eth_fast_path_rx_reg_cqe *fp_cqe = NULL; - register struct rte_mbuf *rx_mb = NULL; - register struct rte_mbuf *seg1 = NULL; + struct rte_mbuf *rx_mb = NULL; + struct rte_mbuf *seg1 = NULL; enum eth_rx_cqe_type cqe_type; uint16_t pkt_len = 0; /* Sum of all BD segments */ uint16_t len; /* Length of first BD */ -- 2.18.0