From patchwork Wed Feb 11 07:10:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 44543 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C879C21527 for ; Wed, 11 Feb 2015 07:11:12 +0000 (UTC) Received: by mail-lb0-f198.google.com with SMTP id p9sf496417lbv.1 for ; Tue, 10 Feb 2015 23:11:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:in-reply-to :references:subject:precedence:list-id:list-unsubscribe:list-archive :list-post:list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=JJ/n3/Ws49ul96hUC5tgDFBO1rvekmuFL+CKUp3kiuI=; b=eqrGpxTVXs87evtWZhLy8Q4g51F8JUP1U3O4JBwqbV283LwmLIXLbyt8o17oO6LKvh qTL2BneLj6SZvOzx1O9ki4uqyepxYBbZzh0ny3Pg/UHgtSeDfSJRnnMSONT8lajae2d6 mnjVxNFAvTNeeVcA3gcz8p8oybDce6EuFTwv/HU3f3M4Vc1BWe2OjofOJyKaUnMPhOZT nEVbEeExukTitxjo7ZTNRcKVta4ANryyloS5skFf5BfOHyVJ9p5peGw/2vUF9VChn23a tXV437ZITkcT+nGtnMSQd5BM3dYxCybGVgUfdXzXxpyacZs0tLuo/qL5RcZM9t0weumR gl0A== X-Gm-Message-State: ALoCoQnF4bkq0EegB7GmzIbwJ8yETjtS2TMUzTvYnDxbNfs0DYE+ZtRBK/EnToazuwXhv99OLTOi X-Received: by 10.152.87.15 with SMTP id t15mr3240901laz.9.1423638671432; Tue, 10 Feb 2015 23:11:11 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.36.3 with SMTP id m3ls21989laj.57.gmail; Tue, 10 Feb 2015 23:11:11 -0800 (PST) X-Received: by 10.112.181.41 with SMTP id dt9mr27206447lbc.56.1423638671018; Tue, 10 Feb 2015 23:11:11 -0800 (PST) Received: from mail-la0-f48.google.com (mail-la0-f48.google.com. [209.85.215.48]) by mx.google.com with ESMTPS id wo1si13617720lbb.160.2015.02.10.23.11.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Feb 2015 23:11:11 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) client-ip=209.85.215.48; Received: by labpv20 with SMTP id pv20so1524491lab.8 for ; Tue, 10 Feb 2015 23:11:10 -0800 (PST) X-Received: by 10.152.44.170 with SMTP id f10mr26667417lam.106.1423638670662; Tue, 10 Feb 2015 23:11:10 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp1076732lbj; Tue, 10 Feb 2015 23:11:10 -0800 (PST) X-Received: by 10.140.38.136 with SMTP id t8mr58956366qgt.61.1423638669892; Tue, 10 Feb 2015 23:11:09 -0800 (PST) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id 42si21652131qgt.23.2015.02.10.23.11.08 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 10 Feb 2015 23:11:09 -0800 (PST) Received-SPF: none (google.com: lng-odp-bounces@lists.linaro.org does not designate permitted sender hosts) client-ip=54.225.227.206; Received: from localhost ([127.0.0.1] helo=ip-10-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YLRRy-0001fr-Mk; Wed, 11 Feb 2015 07:11:06 +0000 Received: from mail-pa0-f52.google.com ([209.85.220.52]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1YLRRh-0001Y5-LR for lng-odp@lists.linaro.org; Wed, 11 Feb 2015 07:10:49 +0000 Received: by mail-pa0-f52.google.com with SMTP id ey11so2128587pad.11 for ; Tue, 10 Feb 2015 23:10:44 -0800 (PST) X-Received: by 10.68.192.101 with SMTP id hf5mr43416497pbc.117.1423638644263; Tue, 10 Feb 2015 23:10:44 -0800 (PST) Received: from localhost.localdomain ([210.177.145.249]) by mx.google.com with ESMTPSA id zs8sm21442490pac.9.2015.02.10.23.10.42 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Feb 2015 23:10:43 -0800 (PST) From: Maxim Uvarov To: lng-odp@lists.linaro.org Date: Wed, 11 Feb 2015 10:10:04 +0300 Message-Id: <1423638605-6342-6-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.8.5.1.163.gd7aced9 In-Reply-To: <1423638605-6342-1-git-send-email-maxim.uvarov@linaro.org> References: <1423638605-6342-1-git-send-email-maxim.uvarov@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 5/6] linux-generic: kill odp_impl.c X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: lng-odp-bounces@lists.linaro.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: maxim.uvarov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.48 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Maxim Uvarov --- platform/linux-generic/Makefile.am | 1 - platform/linux-generic/odp_impl.c | 16 ---------------- platform/linux-generic/odp_version.c | 8 ++++++++ 3 files changed, 8 insertions(+), 17 deletions(-) delete mode 100644 platform/linux-generic/odp_impl.c diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index f1580d5..b77b05b 100644 --- a/platform/linux-generic/Makefile.am +++ b/platform/linux-generic/Makefile.am @@ -143,7 +143,6 @@ __LIB__libodp_la_SOURCES = \ odp_errno.c \ odp_event.c \ odp_init.c \ - odp_impl.c \ odp_linux.c \ odp_packet.c \ odp_packet_flags.c \ diff --git a/platform/linux-generic/odp_impl.c b/platform/linux-generic/odp_impl.c deleted file mode 100644 index 3ad7e53..0000000 --- a/platform/linux-generic/odp_impl.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright (c) 2014, Linaro Limited - * All rights reserved. - * - * SPDX-License-Identifier: BSD-3-Clause - */ - - -#include - -#define ODP_VERSION_IMPL 0 -#define ODP_VERSION_IMPL_STR ODP_VERSION_TO_STR(ODP_VERSION_IMPL) - -const char *odp_version_impl_str(void) -{ - return ODP_VERSION_IMPL_STR; -} diff --git a/platform/linux-generic/odp_version.c b/platform/linux-generic/odp_version.c index 2a7cd6e..d54580c 100644 --- a/platform/linux-generic/odp_version.c +++ b/platform/linux-generic/odp_version.c @@ -15,3 +15,11 @@ const char *odp_version_api_str(void) { return ODP_VERSION_API_STR; } + +#define ODP_VERSION_IMPL 0 +#define ODP_VERSION_IMPL_STR ODP_VERSION_TO_STR(ODP_VERSION_IMPL) + +const char *odp_version_impl_str(void) +{ + return ODP_VERSION_IMPL_STR; +}