From patchwork Fri May 8 19:25:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bill Fischofer X-Patchwork-Id: 48182 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 ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B968021550 for ; Fri, 8 May 2015 19:25:25 +0000 (UTC) Received: by wicmx19 with SMTP id mx19sf10073018wic.3 for ; Fri, 08 May 2015 12:25:25 -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=L2SoFqaj+dF1r+NxTl9ah37bTGKm7af6i09GqZLEf3+ObtnB0QgLDpfC8U1cY5/pZa DKv8gzoW1cFonwZNu78N76KZhTgvR8UN8MKaus5kndELKv8qUkR/ymmmdALVxr+FVc35 yFoqpOUnR/ej592D7RyM+XDNPyaR09nr/OnP++YGxfE1ljWjbwDzZryACWAZu5oRvZi7 9U7WwgSruQtycKHRWBVv+ui5QrmQaO5eIl+vvRqRiiglx8LywCuoLabvcVl1cBZAK+NT VJpvqTDw4DkMkmGjWQoHDFfzzqATkUlQ6Feom0MV15giPD583e9f4GE9dHg+cTLNy0KE S8VQ== X-Gm-Message-State: ALoCoQkcIkwMYl+lKR5dsCV8TSeNSjEL+ha5aZH0UKXs70XzALiDR48s/UZTQxbjNZmP9j2QsVtQ X-Received: by 10.112.138.2 with SMTP id qm2mr2793823lbb.19.1431113125032; Fri, 08 May 2015 12:25:25 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.41 with SMTP id p9ls359806lap.37.gmail; Fri, 08 May 2015 12:25:24 -0700 (PDT) X-Received: by 10.152.181.34 with SMTP id dt2mr1099221lac.84.1431113124884; Fri, 08 May 2015 12:25:24 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id yg5si3833248lab.174.2015.05.08.12.25.24 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 May 2015 12:25:24 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by labbd9 with SMTP id bd9so59361816lab.2 for ; Fri, 08 May 2015 12:25:24 -0700 (PDT) X-Received: by 10.112.161.226 with SMTP id xv2mr4033377lbb.106.1431113124748; Fri, 08 May 2015 12:25:24 -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 hn6csp202029lbb; Fri, 8 May 2015 12:25:24 -0700 (PDT) X-Received: by 10.55.19.36 with SMTP id d36mr11547473qkh.79.1431113123499; Fri, 08 May 2015 12:25:23 -0700 (PDT) Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id cr10si6208755qcb.16.2015.05.08.12.25.21; Fri, 08 May 2015 12:25:23 -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 514686205C; Fri, 8 May 2015 19:25:21 +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 834B862051; Fri, 8 May 2015 19:25:19 +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 E9BB962052; Fri, 8 May 2015 19:25:17 +0000 (UTC) Received: from mail-oi0-f54.google.com (mail-oi0-f54.google.com [209.85.218.54]) by lists.linaro.org (Postfix) with ESMTPS id 2E57E6204B for ; Fri, 8 May 2015 19:25:17 +0000 (UTC) Received: by oica37 with SMTP id a37so66244231oic.0 for ; Fri, 08 May 2015 12:25:16 -0700 (PDT) X-Received: by 10.202.196.131 with SMTP id u125mr4162803oif.44.1431113116733; Fri, 08 May 2015 12:25:16 -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 e204sm3690798oig.23.2015.05.08.12.25.16 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 08 May 2015 12:25:16 -0700 (PDT) From: Bill Fischofer To: lng-odp@lists.linaro.org Date: Fri, 8 May 2015 14:25:10 -0500 Message-Id: <1431113110-18588-1-git-send-email-bill.fischofer@linaro.org> X-Mailer: git-send-email 2.1.0 X-Topics: patch Subject: [lng-odp] [PATCHv2] linux-generic: packet: remove extraneous ASSERT 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.45 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 */