From patchwork Tue Jul 8 14:07:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 33222 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f70.google.com (mail-qg0-f70.google.com [209.85.192.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BA5552070A for ; Tue, 8 Jul 2014 14:07:55 +0000 (UTC) Received: by mail-qg0-f70.google.com with SMTP id z60sf14230991qgd.9 for ; Tue, 08 Jul 2014 07:07:55 -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:from:to:date:message-id:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list :content-type:content-transfer-encoding; bh=kiZvGYps8bypREHetimu9C8Cz1KFbyX1TMgVoLqicjk=; b=gNig54PxHdgyuXqJETqZFbNIt2IaLgIuNi+QgarwAWrw+FV6TtuJuqIrGzddpO4Dcj 5OC8qhERgGx2RNbInfBbcCzhB4DSxMs0mKMOOYjElV9CqB2ydeh4rTo0cB/yJtirI7xw GviZLmaT/bJ/U4gO66DYeEeWSov1rpGEfNqXV3O4rEaGG0NhHdbKZH0lt+1SFw6SV0v3 dtW8f5MDjdtAbaYFGA+15AWgdatbcph63ib+GjSEFj31h5PKRgQzdDrU1YxiWxXg8eOz cpx4Tuyio+2HG0dOS+zwaH0x/Qr3RvEe3Fw2qfrnj+Qp695FRHFRp1XcMZ1UkEbrOK5I Xi3A== X-Gm-Message-State: ALoCoQlqtPunpZwtN7s5YSCDvNLh8WT+HhJGoNh5oAaXsJVQR5V7Y0COQ/r5ee7lESOBKl2g875e X-Received: by 10.236.136.231 with SMTP id w67mr15222041yhi.37.1404828475487; Tue, 08 Jul 2014 07:07:55 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.97.198 with SMTP id m64ls2227100qge.39.gmail; Tue, 08 Jul 2014 07:07:55 -0700 (PDT) X-Received: by 10.221.41.135 with SMTP id tu7mr315810vcb.70.1404828475386; Tue, 08 Jul 2014 07:07:55 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id zg9si8023084vdb.62.2014.07.08.07.07.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Jul 2014 07:07:55 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.179 as permitted sender) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id sa20so5628320veb.24 for ; Tue, 08 Jul 2014 07:07:55 -0700 (PDT) X-Received: by 10.221.34.13 with SMTP id sq13mr10658491vcb.16.1404828475312; Tue, 08 Jul 2014 07:07:55 -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.221.37.5 with SMTP id tc5csp773570vcb; Tue, 8 Jul 2014 07:07:55 -0700 (PDT) X-Received: by 10.140.102.225 with SMTP id w88mr57237110qge.0.1404828474886; Tue, 08 Jul 2014 07:07:54 -0700 (PDT) Received: from ip-10-141-164-156.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id d13si55508413qaq.81.2014.07.08.07.07.54 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 08 Jul 2014 07:07:54 -0700 (PDT) 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-141-164-156.ec2.internal) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1X4W1b-0001dQ-JL; Tue, 08 Jul 2014 14:05:39 +0000 Received: from mail-lb0-f182.google.com ([209.85.217.182]) by ip-10-141-164-156.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1X4W1V-0001dI-Q5 for lng-odp@lists.linaro.org; Tue, 08 Jul 2014 14:05:33 +0000 Received: by mail-lb0-f182.google.com with SMTP id c11so4035684lbj.13 for ; Tue, 08 Jul 2014 07:07:42 -0700 (PDT) X-Received: by 10.112.163.65 with SMTP id yg1mr27069864lbb.44.1404828461853; Tue, 08 Jul 2014 07:07:41 -0700 (PDT) Received: from localhost (c-4f662d5a-74736162.cust.telenor.se. [79.102.45.90]) by mx.google.com with ESMTPSA id jf2sm56579287lbc.34.2014.07.08.07.07.40 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 08 Jul 2014 07:07:41 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Tue, 8 Jul 2014 16:07:30 +0200 Message-Id: <1404828450-27678-1-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 1.9.1 X-Topics: patch Subject: [lng-odp] [PATCH] platform/KS2: make KS2 comply with the API 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: anders.roxell@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.128.179 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 Commit: a73bd98afa1cc - Packet segment API started, removed function odp_buffer_is_scatter remove from KS2 API as well. Signed-off-by: Anders Roxell --- platform/linux-keystone2/include/api/odp_buffer.h | 9 --------- platform/linux-keystone2/odp_buffer.c | 6 ------ 2 files changed, 15 deletions(-) diff --git a/platform/linux-keystone2/include/api/odp_buffer.h b/platform/linux-keystone2/include/api/odp_buffer.h index 487791d..9e1ae3c 100644 --- a/platform/linux-keystone2/include/api/odp_buffer.h +++ b/platform/linux-keystone2/include/api/odp_buffer.h @@ -63,15 +63,6 @@ int odp_buffer_type(odp_buffer_t buf); #define ODP_BUFFER_TYPE_TIMEOUT 3 /**< Timeout buffer */ /** - * Tests if buffer is part of a scatter/gather list - * - * @param buf Buffer handle - * - * @return 1 if belongs to a scatter list, otherwise 0 - */ -int odp_buffer_is_scatter(odp_buffer_t buf); - -/** * Tests if buffer is valid * * @param buf Buffer handle diff --git a/platform/linux-keystone2/odp_buffer.c b/platform/linux-keystone2/odp_buffer.c index d4c7cfe..df88f69 100644 --- a/platform/linux-keystone2/odp_buffer.c +++ b/platform/linux-keystone2/odp_buffer.c @@ -24,12 +24,6 @@ int odp_buffer_type(odp_buffer_t buf) return odp_buf_to_hdr(buf)->type; } -int odp_buffer_is_scatter(odp_buffer_t buf) -{ - return (odp_buf_to_hdr(buf)->desc.nextBDPtr) ? 1 : 0; -} - - int odp_buffer_is_valid(odp_buffer_t buf) { return (buf != ODP_BUFFER_INVALID);