From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id E748031FC for ; Mon, 15 Jan 2018 12:33:26 +0100 (CET) Received: by mail-wm0-f66.google.com with SMTP id i11so1236100wmf.4 for ; Mon, 15 Jan 2018 03:33:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scylladb-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=CbhJv7fTlh8kkm0E4pLOXY2gFtGiONsoF/POnuNy6Jc=; b=mnSpB0GyJs1Hs+9bbFIBFbHbUs46CWpo9t1iHYb76xMvBjXKoIwHHduqXwVLyTyi0M tr3AyTCDVozR7KLNjrGvw2tsDgrRBIMA1u2yCVlLCeHp5FkyT3wPA2yNj+9ZomuKH+ln wb+YK7J2TIBUwoMyAcPmycVPxKpU8GYWgMRplJSzCaJUW2lJrHLgCd2AgSiaUz/Jd1QD Rd2E6ABBsSj+CfYFhap3lzmjlHm6lnvnosUd6BgJ7U1a+XSGDAFxaWivw6d96Xw3UUGj 2qwcNbemDez/FNggqBjZV+8TPyiUj1Wnf2xGsqPlrUdqL9/vPLB+MSssDLBGNIqQPXwk y4Gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=CbhJv7fTlh8kkm0E4pLOXY2gFtGiONsoF/POnuNy6Jc=; b=E6QeLeONC+qMYatRtI8AdHQeqnOq6LxW27mDycBsjWSxBpjeEOiabioDEh89AJm1yG 3XRJi52PUORPMgq3/20XIViGBf0NMBiVVCOJJgEF1Nr0r9Ftwx8GFAVQLQ/8r6RI/HDQ Sq+hlWjQa6vhdwDx9cf6z4q6MUaCjmHqyohvMYISqKl+rGAfDbhIuPqe5zLwLs6+fT+3 ys0GvwXF+CfHn8FOW+iY2gRNK4eWHAQ2Vyj2tBuYNRGMKd7lIrf8eJmdXNfZVSYhVHXT H9GkIj6l0U934iw3gk+KnEU+vfp5jt1OO+6JODsLiDk52BMzwaDRdkG2AN8l3unCdo68 ZvEQ== X-Gm-Message-State: AKwxytccUWHtpWj/3/yYkpxm/osStEa4t5yoYYw7q+ADFZJyO/woX5Dd 48wP30HtedzstkMVU5OlJhf2kdhG7DA= X-Google-Smtp-Source: ACJfBosB/N4FnTi8mDd/57OWXaimgAVuRkZZsjtXPH0GCikiMNdc7aQTjbarIJWJrJK7QKBtxpip8w== X-Received: by 10.28.124.25 with SMTP id x25mr952242wmc.49.1516016006327; Mon, 15 Jan 2018 03:33:26 -0800 (PST) Received: from avi.cloudius-systems.com ([199.203.229.89]) by smtp.gmail.com with ESMTPSA id v191sm9214684wmf.25.2018.01.15.03.33.24 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 Jan 2018 03:33:25 -0800 (PST) From: Avi Kivity To: dev@dpdk.org Date: Mon, 15 Jan 2018 13:33:23 +0200 Message-Id: <20180115113323.24439-1-avi@scylladb.com> X-Mailer: git-send-email 2.14.3 Subject: [dpdk-dev] [PATCH v1] eal: remove another use of 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: Mon, 15 Jan 2018 11:33:27 -0000 The 'register' keyword does nothing, and has been removed in C++17. Remove it for compatibility, like commit 0d5f2ed12f9eb. Signed-off-by: Avi Kivity --- lib/librte_eal/common/include/arch/x86/rte_byteorder_64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_eal/common/include/arch/x86/rte_byteorder_64.h b/lib/librte_eal/common/include/arch/x86/rte_byteorder_64.h index 6289404a3..8c6cf285b 100644 --- a/lib/librte_eal/common/include/arch/x86/rte_byteorder_64.h +++ b/lib/librte_eal/common/include/arch/x86/rte_byteorder_64.h @@ -18,11 +18,11 @@ * Do not use this function directly. The preferred function is rte_bswap64(). */ /* 64-bit mode */ static inline uint64_t rte_arch_bswap64(uint64_t _x) { - register uint64_t x = _x; + uint64_t x = _x; asm volatile ("bswap %[x]" : [x] "+r" (x) ); return x; } -- 2.14.3