From patchwork Fri Jul 10 14:21:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 51038 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f69.google.com (mail-la0-f69.google.com [209.85.215.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 6BB342290A for ; Fri, 10 Jul 2015 14:27:44 +0000 (UTC) Received: by lagc2 with SMTP id c2sf38720071lag.0 for ; Fri, 10 Jul 2015 07:27:43 -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=B7Yd7V0Ql4uSu4YTrPAfd8+/L5bseYAb+UK/462scJo=; b=HUMwyCWXXsjBdOWSl0oNprvznSaJg5dWxjpfSg2RYNEpeZpW9K+m1k+hiLa8YPPZXX RhGoSROhnYQn5sEYGCFFEptd2OlpQuupQe9daFfaoriKguiVAMUM7uQQJgxdUG7lyyf+ f9lnd1h6jKYI/8Cysj9stu87AcJGyhvLDYfuqszuGrnPfLRwmDOXfM5rMW+0yvWPBobj x+i5M2rMUF2E6AViDuBFSlEM2As8AHX6qfJuu78U+iD4q1DXQR49OSrfFj2oW//z1PRF 7sEAvZjR0pEIwcZ9V5FSSkpgCuBHCPNyFE5VCsbLvyJlJkRNhRTOo5dkc4s3ro0HMY7t 8aBw== X-Gm-Message-State: ALoCoQk3D8DU4k/D3q/IrAQA/VFva28Xtbx0hsEuQI641OOrPws5b5Lm1+VHyUgFOhcvzdsRx0s2 X-Received: by 10.180.87.201 with SMTP id ba9mr1961464wib.3.1436538463400; Fri, 10 Jul 2015 07:27:43 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.10.74 with SMTP id g10ls194135lab.92.gmail; Fri, 10 Jul 2015 07:27:43 -0700 (PDT) X-Received: by 10.152.18.194 with SMTP id y2mr10570501lad.5.1436538463220; Fri, 10 Jul 2015 07:27:43 -0700 (PDT) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id lf1si7484375lab.101.2015.07.10.07.27.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Jul 2015 07:27:43 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by lagx9 with SMTP id x9so266258487lag.1 for ; Fri, 10 Jul 2015 07:27:43 -0700 (PDT) X-Received: by 10.113.4.105 with SMTP id cd9mr14372476lbd.106.1436538462796; Fri, 10 Jul 2015 07:27:42 -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.108.230 with SMTP id hn6csp19133lbb; Fri, 10 Jul 2015 07:27:41 -0700 (PDT) X-Received: by 10.140.89.100 with SMTP id u91mr32803518qgd.15.1436538120131; Fri, 10 Jul 2015 07:22:00 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 16si10170414qkt.59.2015.07.10.07.21.58; Fri, 10 Jul 2015 07:22:00 -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 006D861FC0; Fri, 10 Jul 2015 14:21:53 +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_H3, RCVD_IN_MSPIKE_WL, 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 8CF9A61FB2; Fri, 10 Jul 2015 14:21:50 +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 B8CB761FB2; Fri, 10 Jul 2015 14:21:43 +0000 (UTC) Received: from mail-ob0-f177.google.com (mail-ob0-f177.google.com [209.85.214.177]) by lists.linaro.org (Postfix) with ESMTPS id ACF5A61F9D for ; Fri, 10 Jul 2015 14:21:41 +0000 (UTC) Received: by obdbs4 with SMTP id bs4so192209567obd.3 for ; Fri, 10 Jul 2015 07:21:41 -0700 (PDT) X-Received: by 10.60.50.168 with SMTP id d8mr20345115oeo.41.1436538101127; Fri, 10 Jul 2015 07:21:41 -0700 (PDT) Received: from localhost.localdomain (cpe-24-28-70-239.austin.res.rr.com. [24.28.70.239]) by smtp.gmail.com with ESMTPSA id j2sm4926629obh.16.2015.07.10.07.21.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 10 Jul 2015 07:21:40 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Fri, 10 Jul 2015 09:21:35 -0500 Message-Id: <1436538095-15120-1-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.4 X-Topics: patch Subject: [lng-odp] [API-NEXT PATCH] linux-generic: buffer: remove unused _odp_buffer_type_set() function 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: bill.fischofer@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.46 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: Bill Fischofer Reviewed-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 d9ffc06..ae799dd 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;