From patchwork Mon Jul 18 17:49:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Milard X-Patchwork-Id: 72220 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp209466qga; Mon, 18 Jul 2016 09:51:40 -0700 (PDT) X-Received: by 10.36.71.67 with SMTP id t64mr11117641itb.0.1468860700714; Mon, 18 Jul 2016 09:51:40 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 135si10197019itm.100.2016.07.18.09.51.40; Mon, 18 Jul 2016 09:51:40 -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 2EF22687EA; Mon, 18 Jul 2016 16:51:40 +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 9E5A1687E8; Mon, 18 Jul 2016 16:50:53 +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 6D59C68783; Mon, 18 Jul 2016 16:50:43 +0000 (UTC) Received: from mail-lf0-f51.google.com (mail-lf0-f51.google.com [209.85.215.51]) by lists.linaro.org (Postfix) with ESMTPS id E1CC468783 for ; Mon, 18 Jul 2016 16:50:40 +0000 (UTC) Received: by mail-lf0-f51.google.com with SMTP id f93so136185464lfi.2 for ; Mon, 18 Jul 2016 09:50:40 -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=dhsddkV6VMxOoL5mUmE+C0s+7/f6GpaC0lLv39AVW87SV2zOU11Mpx+KRttXXNKBXO luWDCaO6gVeJ7mhI2XV7Cw+qPNc2+PZS4EPfWOKqIjQt/PcBAL2j+pa5iDg7vxriKxxS VoBOpBDTU/jW0ze/EQpyWc/qhy/36P1ttCR4DN/7zZshpWomx33r1u0inFB1elnq+OV8 c2gshO7m7iyZEcMz77qUksS+mBABtVxPDsxu9r2FyWe/liH3Ic6hutych6AE4ztpa1vK I1e9uAmw4Qk3/8Mda17S6AUp9JnApYq9fV7eC/8KY2eG23v4uTwzK544Tc8SbdlQwM2Q snvQ== X-Gm-Message-State: ALyK8tLWvbg4QGO6wZ2z0AGOBQ6unQy2l1QrSujvsAFnzr3wIVHqEee82zMWSC3rHZZzigIqHSw= X-Received: by 10.25.17.213 with SMTP id 82mr14459769lfr.119.1468860639800; Mon, 18 Jul 2016 09:50:39 -0700 (PDT) Received: from erachmi-ericsson.ki.sw.ericsson.se (c-83-233-90-46.cust.bredband2.com. [83.233.90.46]) by smtp.gmail.com with ESMTPSA id y200sm2226229lfd.12.2016.07.18.09.50.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Jul 2016 09:50:39 -0700 (PDT) From: Christophe Milard To: mike.holmes@linaro.org, yi.he@linaro.org, balakrishna.garapati@linaro.org, lng-odp@lists.linaro.org Date: Mon, 18 Jul 2016 19:49:23 +0200 Message-Id: <1468864178-43721-4-git-send-email-christophe.milard@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1468864178-43721-1-git-send-email-christophe.milard@linaro.org> References: <1468864178-43721-1-git-send-email-christophe.milard@linaro.org> X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH 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 * @{ */