From patchwork Wed Jul 20 20:38:49 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 72499 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp74897qga; Wed, 20 Jul 2016 13:40:30 -0700 (PDT) X-Received: by 10.55.104.70 with SMTP id d67mr61044604qkc.60.1469047230094; Wed, 20 Jul 2016 13:40:30 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id d4si2737105qkf.184.2016.07.20.13.40.29; Wed, 20 Jul 2016 13:40:30 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id A03E668928; Wed, 20 Jul 2016 20:40:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id BFD1568909; Wed, 20 Jul 2016 20:39:19 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 5C24168902; Wed, 20 Jul 2016 20:39:16 +0000 (UTC) Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) by lists.linaro.org (Postfix) with ESMTPS id 1044968434 for ; Wed, 20 Jul 2016 20:39:13 +0000 (UTC) Received: by mail-lf0-f47.google.com with SMTP id b199so46478708lfe.0 for ; Wed, 20 Jul 2016 13:39:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DjPMBnaXRSP5OrwAZEpJU/hFBnmznHPZYBqx56Ss2tk=; b=U1zGeyz5+GyxIw0368dIo/57tB5XoF2ancawFhErwPBNzckol9Rd/CN6b4ZCkppDNG QWcf6FFBnOQ9qM7jDfywiGJL73tyEqULYaHgAwSfI0xoNY+uy55t/icGPxltdPMVPh0H THWE5jHzmvGaNm2czsRdV254+J5ryyzFhCJD2ouOM4yCKi5XULZp/79Ul2IMgTk1ILq0 gJpLK5yRdtAsvqzNbTW5LvkqfPuVi6q2F4D4R+xLS/GfqaTuKv9W1r7axVpBPfuf7JF5 pm5Pz2fdv3nUV8nfNslA0tHLdbm/S9SU/J6UJk3ZkiXX0O7tL5QBHDfSVbVKWLPp63g0 ojgA== X-Gm-Message-State: ALyK8tLMm0J7HCDlWB7iweIwvAc56qr95IaNBmtHNl/sg8VejDgc6tRB0REaKHP72qDg1jUVgps= X-Received: by 10.46.9.9 with SMTP id 9mr17239053ljj.3.1469047151944; Wed, 20 Jul 2016 13:39:11 -0700 (PDT) Received: from localhost.localdomain (c-83-233-90-46.cust.bredband2.com. [83.233.90.46]) by smtp.gmail.com with ESMTPSA id 29sm895112lfu.43.2016.07.20.13.39.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 20 Jul 2016 13:39:11 -0700 (PDT) From: Christophe Milard To: mike.holmes@linaro.org, lng-odp@lists.linaro.org, balakrishna.garapati@linaro.org Date: Wed, 20 Jul 2016 22:38:49 +0200 Message-Id: <1469047144-7960-4-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1469047144-7960-1-git-send-email-christophe.milard@linaro.org> References: <1469047144-7960-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCHv2 03/18] linux-generic: cosmetic changes on byteorder files X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" To please check-patch before the copy to the drv interface. Signed-off-by: Christophe Milard --- include/odp/api/spec/byteorder.h | 4 ---- platform/linux-generic/include/odp/api/byteorder.h | 3 --- platform/linux-generic/include/odp/api/plat/byteorder_types.h | 3 --- 3 files changed, 10 deletions(-) -- 2.7.4 diff --git a/include/odp/api/spec/byteorder.h b/include/odp/api/spec/byteorder.h index 802a015..6b18eb3 100644 --- a/include/odp/api/spec/byteorder.h +++ b/include/odp/api/spec/byteorder.h @@ -4,7 +4,6 @@ * SPDX-License-Identifier: BSD-3-Clause */ - /** * @file * @@ -92,7 +91,6 @@ uint32_t odp_be_to_cpu_32(odp_u32be_t be32); */ uint64_t odp_be_to_cpu_64(odp_u64be_t be64); - /* * CPU byte order -> Big Endian: */ @@ -118,7 +116,6 @@ odp_u32be_t odp_cpu_to_be_32(uint32_t cpu32); */ odp_u64be_t odp_cpu_to_be_64(uint64_t cpu64); - /* * Little Endian -> CPU byte order: */ @@ -144,7 +141,6 @@ uint32_t odp_le_to_cpu_32(odp_u32le_t le32); */ uint64_t odp_le_to_cpu_64(odp_u64le_t le64); - /* * CPU byte order -> Little Endian: */ diff --git a/platform/linux-generic/include/odp/api/byteorder.h b/platform/linux-generic/include/odp/api/byteorder.h index c347be0..df8e95b 100644 --- a/platform/linux-generic/include/odp/api/byteorder.h +++ b/platform/linux-generic/include/odp/api/byteorder.h @@ -52,7 +52,6 @@ static inline uint64_t odp_be_to_cpu_64(odp_u64be_t be64) #endif } - static inline odp_u16be_t odp_cpu_to_be_16(uint16_t cpu16) { #if ODP_BYTE_ORDER == ODP_LITTLE_ENDIAN @@ -80,7 +79,6 @@ static inline odp_u64be_t odp_cpu_to_be_64(uint64_t cpu64) #endif } - static inline uint16_t odp_le_to_cpu_16(odp_u16le_t le16) { #if ODP_BYTE_ORDER == ODP_LITTLE_ENDIAN @@ -108,7 +106,6 @@ static inline uint64_t odp_le_to_cpu_64(odp_u64le_t le64) #endif } - static inline odp_u16le_t odp_cpu_to_le_16(uint16_t cpu16) { #if ODP_BYTE_ORDER == ODP_LITTLE_ENDIAN diff --git a/platform/linux-generic/include/odp/api/plat/byteorder_types.h b/platform/linux-generic/include/odp/api/plat/byteorder_types.h index 679d4cf..d4bf3d6 100644 --- a/platform/linux-generic/include/odp/api/plat/byteorder_types.h +++ b/platform/linux-generic/include/odp/api/plat/byteorder_types.h @@ -4,7 +4,6 @@ * SPDX-License-Identifier: BSD-3-Clause */ - /** * @file * @@ -30,7 +29,6 @@ extern "C" { #error __LITTLE_ENDIAN not defined! #endif - /* for use with type checkers such as sparse */ #ifdef __CHECKER__ /** @internal bitwise attribute */ @@ -44,7 +42,6 @@ extern "C" { #define __odp_force #endif - /** @addtogroup odp_compiler_optim * @{ */