From patchwork Wed Jul 22 14:35:14 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 51350 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id EAA46228EF for ; Wed, 22 Jul 2015 14:41:10 +0000 (UTC) Received: by wicmv11 with SMTP id mv11sf23462082wic.1 for ; Wed, 22 Jul 2015 07:41:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id: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=NZkHqpjRkEh0VGrF5rxwC4BfFdBr2IhgWwmjvtCbsbI=; b=BMM6EQO9sXguymQtUWoNDRKMASCLNIADtyry5hOYK401or4oEnCFN5JkP3Oxgznf/s xesonEcBHqJ5bLUjwe3Ei6m3rXlu4RgN27BvnjaLUOErhyxp3weWorA2nMqWtIKG7cHB ycZe+07UXLH+cvm1+YOLjxB7y4c2oxg/OexVzPnaYxuoAksnM9EBHN5veDqnPWfb+JEr Tq/Vb9TqClqR5LogiDSHE/47Aioi6UzMftsAnuOedPp0E2rgYgZGSsCiKYPZikMAkzyE yEePhmK3KerZRO9dpUTfAhgbS6GBbfO1iBSvSPwcN8VdL9mqjXjBqrkYkIpA2YdLkm55 r99A== X-Gm-Message-State: ALoCoQl28WPcPcXULeM0gQ/5fGP3cxwRx6y0dpU8XXJ47p61K551ZN0cnnelEdfUXm0guEw2W7ya X-Received: by 10.180.182.49 with SMTP id eb17mr11689671wic.2.1437576070260; Wed, 22 Jul 2015 07:41:10 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.5.9 with SMTP id ci9ls107441lad.69.gmail; Wed, 22 Jul 2015 07:41:10 -0700 (PDT) X-Received: by 10.112.63.201 with SMTP id i9mr2713513lbs.93.1437576070087; Wed, 22 Jul 2015 07:41:10 -0700 (PDT) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id p10si1368444lae.91.2015.07.22.07.41.09 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jul 2015 07:41:09 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by lbbzr7 with SMTP id zr7so138239896lbb.1 for ; Wed, 22 Jul 2015 07:41:09 -0700 (PDT) X-Received: by 10.112.120.134 with SMTP id lc6mr2748186lbb.86.1437576069671; Wed, 22 Jul 2015 07:41:09 -0700 (PDT) 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.7.198 with SMTP id l6csp2155846lba; Wed, 22 Jul 2015 07:41:08 -0700 (PDT) X-Received: by 10.141.28.211 with SMTP id f202mr4392726qhe.93.1437576068409; Wed, 22 Jul 2015 07:41:08 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id a82si1912313qkh.0.2015.07.22.07.41.06; Wed, 22 Jul 2015 07:41:08 -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; Received: by lists.linaro.org (Postfix, from userid 109) id C5DDE61CB8; Wed, 22 Jul 2015 14:41:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from ip-10-142-244-252.ec2.internal (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 3073361C85; Wed, 22 Jul 2015 14:41:01 +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 9587E61C85; Wed, 22 Jul 2015 14:40:34 +0000 (UTC) Received: from mail-qg0-f44.google.com (mail-qg0-f44.google.com [209.85.192.44]) by lists.linaro.org (Postfix) with ESMTPS id E7AF361C9E for ; Wed, 22 Jul 2015 14:35:26 +0000 (UTC) Received: by qged69 with SMTP id d69so74214996qge.0 for ; Wed, 22 Jul 2015 07:35:26 -0700 (PDT) X-Received: by 10.55.27.9 with SMTP id b9mr3973148qkb.101.1437575726468; Wed, 22 Jul 2015 07:35:26 -0700 (PDT) Received: from localhost.localdomain (c-98-221-136-245.hsd1.nj.comcast.net. [98.221.136.245]) by smtp.gmail.com with ESMTPSA id g92sm762412qgf.20.2015.07.22.07.35.25 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Jul 2015 07:35:25 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Wed, 22 Jul 2015 10:35:14 -0400 Message-Id: <1437575714-2928-1-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.4 X-Topics: patch Subject: [lng-odp] [PATCH] linux-generic: buffer: removed unused _odp_buffer_type_set X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 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" X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mike.holmes@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.217.173 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: Mike Holmes --- platform/linux-generic/include/odp_buffer_internal.h | 9 --------- platform/linux-generic/odp_buffer.c | 8 -------- 2 files changed, 17 deletions(-) diff --git a/platform/linux-generic/include/odp_buffer_internal.h b/platform/linux-generic/include/odp_buffer_internal.h index ef116c3..a7638da 100644 --- a/platform/linux-generic/include/odp_buffer_internal.h +++ b/platform/linux-generic/include/odp_buffer_internal.h @@ -168,15 +168,6 @@ odp_buffer_t buffer_alloc(odp_pool_t pool, size_t size); */ int _odp_buffer_type(odp_buffer_t buf); -/* - * Buffer type set - * - * @param buf Buffer handle - * @param type New type value - * - */ - void _odp_buffer_type_set(odp_buffer_t buf, int type); - #ifdef __cplusplus } #endif diff --git a/platform/linux-generic/odp_buffer.c b/platform/linux-generic/odp_buffer.c index 0803805..d5d42a6 100644 --- a/platform/linux-generic/odp_buffer.c +++ b/platform/linux-generic/odp_buffer.c @@ -47,14 +47,6 @@ int _odp_buffer_type(odp_buffer_t buf) return hdr->type; } -void _odp_buffer_type_set(odp_buffer_t buf, int type) -{ - odp_buffer_hdr_t *hdr = odp_buf_to_hdr(buf); - - hdr->type = type; -} - - int odp_buffer_is_valid(odp_buffer_t buf) { return validate_buf(buf) != NULL;