From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f195.google.com (mail-pf1-f195.google.com [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id 1B1C825D9 for ; Tue, 31 Jul 2018 18:31:04 +0200 (CEST) Received: by mail-pf1-f195.google.com with SMTP id j8-v6so6364528pff.6 for ; Tue, 31 Jul 2018 09:31:04 -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=FamfizP1vnjeMLcXlXImpmNYDkSlr6BohAkvQ1UalnE=; b=S0atV2jUELH3sYYFTcVO/wdUxKDkoe7yynEroscmG1iiZNyEZk9m0pjZIGYTlFkcPl pnQdgMEB/40LO6bKHjEZTB+yLqFbZXyh7xYV3f4PZKUUnGRaYqekgVyKPN8YotRZFnes 4AdiKykWDSKXon9BK57F3esOHNbYkKUI7ULcGWCOdYxnVft4ka/XtwfrvrTP04Hy7x27 NjeBDgK1xr9W1kop/mmUvQvIBWnNKSrU8jWelwZVSrEV/ZGASx2eXDYBLTLXiDlSufg4 TcPpOSHA4UQ6ouVOv5J/pbthgIJJRRAbLVhg1p0L9fWTxqfkJLGeL7zPMpzbkdMK6jK1 uBpw== 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=FamfizP1vnjeMLcXlXImpmNYDkSlr6BohAkvQ1UalnE=; b=Ji5NwP+67JaqZBdWnW8BNNcgZYaMg/Hr+n2V8XQiQqtUpqyeeSDIHsHzjonPVWw8+5 puckM/u29X58BWZUZexCZmZu63grG5QucPUrIFiO0Un/9yfbu61cB2j8BhZodcQ7gOIJ XqO0Yr3A8+Za5AYMloQA/h6hgBtw8EwMEev/Z+lBGNB5X3Et/JgaSux4Dz4q5NKmFRUL d5BeXGeRHqVpZ3A06gx2u0lgMjkzSHa+eq6A/3biTJlCf10OebBbrzKvXaBIwvnUAVjr 85MzVdsEsq/VSG8AvGpKogQSism5GKInQu0r0yOFTpBJepFF5dO8zt0LRFBEhU+DLZfe 5AdA== X-Gm-Message-State: AOUpUlFhQzeTU/ALlbjl4bk56Apfk8phK/WAMQ/HSRNTqFXI2/l27bsc pNcIZHQdxjItKBMhi5RSAbOYg3841Js= X-Google-Smtp-Source: AAOMgpd4UVOElChy5Cm0E5HIjHB7wA/4Kxp7UENfIhgTq8xT2g+0nZLjU6MLNGKNTVUE0le/h21+Cg== X-Received: by 2002:a63:64c2:: with SMTP id y185-v6mr20882547pgb.126.1533054663834; Tue, 31 Jul 2018 09:31:03 -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.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 31 Jul 2018 09:31:02 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Date: Tue, 31 Jul 2018 09:30:55 -0700 Message-Id: <20180731163059.27085-2-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 1/5] qat: remove redundant C register keyword 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:05 -0000 Modern C compilers ignore the register keyword and do automatic register assignment. Signed-off-by: Stephen Hemminger --- drivers/common/qat/qat_qp.c | 10 +++++----- drivers/crypto/qat/qat_sym.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/common/qat/qat_qp.c b/drivers/common/qat/qat_qp.c index 7ca7a45ebfe0..21891ec1955d 100644 --- a/drivers/common/qat/qat_qp.c +++ b/drivers/common/qat/qat_qp.c @@ -530,13 +530,13 @@ void rxq_free_desc(struct qat_qp *qp, struct qat_queue *q) uint16_t qat_enqueue_op_burst(void *qp, void **ops, uint16_t nb_ops) { - register struct qat_queue *queue; + struct qat_queue *queue; struct qat_qp *tmp_qp = (struct qat_qp *)qp; - register uint32_t nb_ops_sent = 0; - register int ret; + uint32_t nb_ops_sent = 0; + int ret; uint16_t nb_ops_possible = nb_ops; - register uint8_t *base_addr; - register uint32_t tail; + uint8_t *base_addr; + uint32_t tail; int overflow; if (unlikely(nb_ops == 0)) diff --git a/drivers/crypto/qat/qat_sym.c b/drivers/crypto/qat/qat_sym.c index 8273968f3aa7..dc77ca870fc9 100644 --- a/drivers/crypto/qat/qat_sym.c +++ b/drivers/crypto/qat/qat_sym.c @@ -150,7 +150,7 @@ qat_sym_build_request(void *in_op, uint8_t *out_msg, struct qat_sym_session *ctx; struct icp_qat_fw_la_cipher_req_params *cipher_param; struct icp_qat_fw_la_auth_req_params *auth_param; - register struct icp_qat_fw_la_bulk_req *qat_req; + struct icp_qat_fw_la_bulk_req *qat_req; uint8_t do_auth = 0, do_cipher = 0, do_aead = 0; uint32_t cipher_len = 0, cipher_ofs = 0; uint32_t auth_len = 0, auth_ofs = 0; -- 2.18.0