From patchwork Fri Oct 31 18:25:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Holmes X-Patchwork-Id: 39958 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A89B92405B for ; Fri, 31 Oct 2014 18:26:01 +0000 (UTC) Received: by mail-lb0-f197.google.com with SMTP id b6sf3119928lbj.0 for ; Fri, 31 Oct 2014 11:26:00 -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:in-reply-to :references: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=N+xXc1ocICgL7TLhWolR6mwt47tKA23PvUSqkUD6RlY=; b=AlKG3DVmzvn0umaeXUpmHtS9QZ1+GPy6EKiyMFd0ySymYGx66YJeimVsIp6pMYr94H 3LweIfzaWWyktfAiMTPd0nEzJHEhBBkfIFswDAU/vAc8cIJ25wiSNgdaY1sI/m88N/T2 9cKjfuRJXZpLKGA9rq70y9FKCPofE4JOa7l1sAteg5M0id6xEFk3fB+5MWfehDdQDZ7n 5CG90fQ5TjTtn3YYimfc6ThBoblo/aI6O7eXFQoDVB8swoQeBrYNVMVUkoPFeI7zfdb3 pxJEFS4dr2lkn3gDv1oc0HIlcvygXcYqeMuGJImWbbprPJ0qFb0VEw0uHX5QIeOHf3EE CT6g== X-Gm-Message-State: ALoCoQkmqMDN+Lca09m/uuj2wzWD4Lu8N3Dxs01LcdL7d71mn9tndeoYdraLCTWq4kmZ5Fxgacmb X-Received: by 10.112.154.194 with SMTP id vq2mr705884lbb.10.1414779960558; Fri, 31 Oct 2014 11:26:00 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.44.229 with SMTP id h5ls536643lam.4.gmail; Fri, 31 Oct 2014 11:26:00 -0700 (PDT) X-Received: by 10.152.37.231 with SMTP id b7mr12134257lak.72.1414779960410; Fri, 31 Oct 2014 11:26:00 -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 xo10si18079778lbb.74.2014.10.31.11.26.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 Oct 2014 11:26:00 -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 mail-la0-f45.google.com with SMTP id pn19so1336882lab.18 for ; Fri, 31 Oct 2014 11:26:00 -0700 (PDT) X-Received: by 10.112.130.41 with SMTP id ob9mr27811219lbb.74.1414779960296; Fri, 31 Oct 2014 11:26:00 -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.84.229 with SMTP id c5csp243195lbz; Fri, 31 Oct 2014 11:25:59 -0700 (PDT) X-Received: by 10.229.84.72 with SMTP id i8mr39328555qcl.7.1414779958790; Fri, 31 Oct 2014 11:25:58 -0700 (PDT) Received: from ip-10-35-177-41.ec2.internal (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTPS id h9si18306647qah.91.2014.10.31.11.25.57 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 31 Oct 2014 11:25:58 -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-35-177-41.ec2.internal) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XkGtY-0006WD-Tx; Fri, 31 Oct 2014 18:25:56 +0000 Received: from mail-qg0-f42.google.com ([209.85.192.42]) by ip-10-35-177-41.ec2.internal with esmtp (Exim 4.76) (envelope-from ) id 1XkGtN-0006Vw-1I for lng-odp@lists.linaro.org; Fri, 31 Oct 2014 18:25:45 +0000 Received: by mail-qg0-f42.google.com with SMTP id i50so5205946qgf.29 for ; Fri, 31 Oct 2014 11:25:39 -0700 (PDT) X-Received: by 10.140.97.200 with SMTP id m66mr3144946qge.17.1414779939615; Fri, 31 Oct 2014 11:25:39 -0700 (PDT) Received: from fedora1.holmesfamily.ws ([98.221.136.245]) by mx.google.com with ESMTPSA id e8sm10017569qai.33.2014.10.31.11.25.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 31 Oct 2014 11:25:39 -0700 (PDT) From: Mike Holmes To: lng-odp@lists.linaro.org Date: Fri, 31 Oct 2014 14:25:30 -0400 Message-Id: <1414779930-17602-2-git-send-email-mike.holmes@linaro.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1414779930-17602-1-git-send-email-mike.holmes@linaro.org> References: <1414779930-17602-1-git-send-email-mike.holmes@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 2/2] linux-generic: clean unnecessary includes 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: 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.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 With the system headers cleaned up linux-generic no longer needs so many system includes Signed-off-by: Mike Holmes --- platform/linux-generic/odp_buffer.c | 1 - platform/linux-generic/odp_buffer_pool.c | 3 --- platform/linux-generic/odp_coremask.c | 1 - platform/linux-generic/odp_linux.c | 2 -- platform/linux-generic/odp_packet.c | 1 - platform/linux-generic/odp_packet_socket.c | 2 -- platform/linux-generic/odp_ring.c | 1 - platform/linux-generic/odp_shared_memory.c | 1 - platform/linux-generic/odp_system_info.c | 1 - platform/linux-generic/odp_thread.c | 2 -- platform/linux-generic/odp_time.c | 1 - 11 files changed, 16 deletions(-) diff --git a/platform/linux-generic/odp_buffer.c b/platform/linux-generic/odp_buffer.c index e54e0e7..a46543d 100644 --- a/platform/linux-generic/odp_buffer.c +++ b/platform/linux-generic/odp_buffer.c @@ -9,7 +9,6 @@ #include #include -#include void *odp_buffer_addr(odp_buffer_t buf) diff --git a/platform/linux-generic/odp_buffer_pool.c b/platform/linux-generic/odp_buffer_pool.c index a48d7d6..f25aa67 100644 --- a/platform/linux-generic/odp_buffer_pool.c +++ b/platform/linux-generic/odp_buffer_pool.c @@ -16,10 +16,7 @@ #include #include #include - #include -#include - #ifdef POOL_USE_TICKETLOCK #include diff --git a/platform/linux-generic/odp_coremask.c b/platform/linux-generic/odp_coremask.c index c7438cc..d378aad 100644 --- a/platform/linux-generic/odp_coremask.c +++ b/platform/linux-generic/odp_coremask.c @@ -7,7 +7,6 @@ #include #include -#include #include #define MAX_CORE_NUM 64 diff --git a/platform/linux-generic/odp_linux.c b/platform/linux-generic/odp_linux.c index 11f76c9..356d628 100644 --- a/platform/linux-generic/odp_linux.c +++ b/platform/linux-generic/odp_linux.c @@ -12,9 +12,7 @@ #include #include -#include #include -#include #include diff --git a/platform/linux-generic/odp_packet.c b/platform/linux-generic/odp_packet.c index 82ea879..6bac23e 100644 --- a/platform/linux-generic/odp_packet.c +++ b/platform/linux-generic/odp_packet.c @@ -13,7 +13,6 @@ #include #include -#include static inline uint8_t parse_ipv4(odp_packet_hdr_t *pkt_hdr, odph_ipv4hdr_t *ipv4, size_t *offset_out); diff --git a/platform/linux-generic/odp_packet_socket.c b/platform/linux-generic/odp_packet_socket.c index 0492d1e..18f6e9d 100644 --- a/platform/linux-generic/odp_packet_socket.c +++ b/platform/linux-generic/odp_packet_socket.c @@ -10,8 +10,6 @@ #endif #include -#include -#include #include #include #include diff --git a/platform/linux-generic/odp_ring.c b/platform/linux-generic/odp_ring.c index 632aa66..8466d90 100644 --- a/platform/linux-generic/odp_ring.c +++ b/platform/linux-generic/odp_ring.c @@ -76,7 +76,6 @@ #include #include #include -#include #include #include #include diff --git a/platform/linux-generic/odp_shared_memory.c b/platform/linux-generic/odp_shared_memory.c index 60a868b..c770a80 100644 --- a/platform/linux-generic/odp_shared_memory.c +++ b/platform/linux-generic/odp_shared_memory.c @@ -17,7 +17,6 @@ #include #include -#include #include diff --git a/platform/linux-generic/odp_system_info.c b/platform/linux-generic/odp_system_info.c index 10665bb..90deb80 100644 --- a/platform/linux-generic/odp_system_info.c +++ b/platform/linux-generic/odp_system_info.c @@ -9,7 +9,6 @@ #include #include #include -#include /* sysconf */ #include diff --git a/platform/linux-generic/odp_thread.c b/platform/linux-generic/odp_thread.c index b869b27..8acbfe2 100644 --- a/platform/linux-generic/odp_thread.c +++ b/platform/linux-generic/odp_thread.c @@ -18,8 +18,6 @@ #include #include -#include -#include typedef struct { diff --git a/platform/linux-generic/odp_time.c b/platform/linux-generic/odp_time.c index faece0e..eac60e3 100644 --- a/platform/linux-generic/odp_time.c +++ b/platform/linux-generic/odp_time.c @@ -48,7 +48,6 @@ uint64_t odp_time_get_cycles(void) #else #include -#include uint64_t odp_time_get_cycles(void) {