From patchwork Fri May 8 19:31:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 48183 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f72.google.com (mail-la0-f72.google.com [209.85.215.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B4B762121F for ; Fri, 8 May 2015 19:32:09 +0000 (UTC) Received: by laat2 with SMTP id t2sf26259192laa.2 for ; Fri, 08 May 2015 12:32:08 -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=ff3K48GLArp32PqcLVis1MSldbcxj7dzuoNmrjCTWbw=; b=M0bQBeXlnmsdlg8POT6Jqs6YhGJjtUgFifUBi28vjYRpftUAmiZi/OX6wzbSDugzS6 39UjwKmCGrTv1I7nO+7vcKL2JjsEXluxKDkTIAezMu//sjysPUu9W/D3Ykqqrvd28+hR N+uO7T1N9IW+23K56ZehpGwgI8S8o8Jx3meeTLzeE5N05DY3Rcon4/ID0ocH9GMVLi4Z lsz/GRfh7c7+aHumQznGjpMa+1chE2pt5RbVHkmYryRfs9N1r0uXJ8EvWZ1z8T8Nwz6D RZeAv4jU6hw807Wu/HMSBzC74MZVFxnnlQjtd7kEJw9b5F0yabITYEp/+Yz7hrnd7yNu hoKg== X-Gm-Message-State: ALoCoQkADVdBc2dt5+5vLCIzAEdb56uPUvmEBLcm6X+MbrNb0Q3+uHMuF1qyUbTqMJYUfYwXCF/N X-Received: by 10.180.85.129 with SMTP id h1mr230506wiz.6.1431113528702; Fri, 08 May 2015 12:32:08 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.120.71 with SMTP id la7ls372252lab.25.gmail; Fri, 08 May 2015 12:32:08 -0700 (PDT) X-Received: by 10.112.167.228 with SMTP id zr4mr3949000lbb.113.1431113528538; Fri, 08 May 2015 12:32:08 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id qh5si3872767lbb.28.2015.05.08.12.32.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 May 2015 12:32:08 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by layy10 with SMTP id y10so59434189lay.0 for ; Fri, 08 May 2015 12:32:08 -0700 (PDT) X-Received: by 10.112.140.231 with SMTP id rj7mr3931716lbb.76.1431113528421; Fri, 08 May 2015 12:32:08 -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 hn6csp204702lbb; Fri, 8 May 2015 12:32:07 -0700 (PDT) X-Received: by 10.140.97.72 with SMTP id l66mr6780693qge.103.1431113527210; Fri, 08 May 2015 12:32:07 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id 199si6198148qhe.36.2015.05.08.12.32.06; Fri, 08 May 2015 12:32:07 -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 35B1D62055; Fri, 8 May 2015 19:32: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 96B006204B; Fri, 8 May 2015 19:32:04 +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 D204062052; Fri, 8 May 2015 19:32:02 +0000 (UTC) Received: from mail-ob0-f171.google.com (mail-ob0-f171.google.com [209.85.214.171]) by lists.linaro.org (Postfix) with ESMTPS id C6CA86204B for ; Fri, 8 May 2015 19:32:01 +0000 (UTC) Received: by obblk2 with SMTP id lk2so62892816obb.0 for ; Fri, 08 May 2015 12:32:01 -0700 (PDT) X-Received: by 10.182.70.100 with SMTP id l4mr4314555obu.77.1431113521315; Fri, 08 May 2015 12:32:01 -0700 (PDT) Received: from localhost.localdomain (cpe-24-28-70-239.austin.res.rr.com. [24.28.70.239]) by mx.google.com with ESMTPSA id l194sm3695784oib.27.2015.05.08.12.32.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 May 2015 12:32:00 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Fri, 8 May 2015 14:31:56 -0500 Message-Id: <1431113516-19863-1-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCHv3] linux-generic: remove extraneous ASSERTs 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.42 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 --- platform/linux-generic/include/odp_packet_internal.h | 3 --- platform/linux-generic/odp_pool.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/platform/linux-generic/include/odp_packet_internal.h b/platform/linux-generic/include/odp_packet_internal.h index c3dcdd8..90dfe80 100644 --- a/platform/linux-generic/include/odp_packet_internal.h +++ b/platform/linux-generic/include/odp_packet_internal.h @@ -139,9 +139,6 @@ typedef struct odp_packet_hdr_stride { uint8_t pad[ODP_CACHE_LINE_SIZE_ROUNDUP(sizeof(odp_packet_hdr_t))]; } odp_packet_hdr_stride; -_ODP_STATIC_ASSERT(sizeof(odp_packet_hdr_t) % sizeof(uint64_t) == 0, - "ODP_PACKET_HDR_T__SIZE_ERR2"); - /** * Return the packet header */ diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c index f887665..cd2c449 100644 --- a/platform/linux-generic/odp_pool.c +++ b/platform/linux-generic/odp_pool.c @@ -35,9 +35,6 @@ typedef union buffer_type_any_u { odp_timeout_hdr_t tmo; } odp_anybuf_t; -_ODP_STATIC_ASSERT((sizeof(union buffer_type_any_u) % 8) == 0, - "BUFFER_TYPE_ANY_U__SIZE_ERR"); - /* Any buffer type header */ typedef struct { union buffer_type_any_u any_hdr; /* any buffer type */