From: Kenneth Graunke Subject: [PATCH] Remove pointless Android ifdefs for sys/fcntl.h. Date: Fri, 10 Feb 2012 22:19:16 -0800 Message-ID: <1328941156-21603-1-git-send-email-kenneth@whitecape.org> References: <20120210174602.GA27809@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from homiemail-a2.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 815FF9E744 for ; Fri, 10 Feb 2012 22:19:21 -0800 (PST) In-Reply-To: <20120210174602.GA27809@phenom.ffwll.local> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On my system, sys/fcntl.h contains exactly one line: #include So there's really no need to #ifdef it. Also, intel_mmio.c already included ; there's no need to include it twice. Signed-off-by: Kenneth Graunke --- lib/intel_drm.c | 4 ---- lib/intel_mmio.c | 5 ----- lib/intel_pci.c | 4 ---- 3 files changed, 0 insertions(+), 13 deletions(-) diff --git a/lib/intel_drm.c b/lib/intel_drm.c index 4a919d3..36a24fa 100644 --- a/lib/intel_drm.c +++ b/lib/intel_drm.c @@ -36,11 +36,7 @@ #include #include #include -#ifdef ANDROID #include -#else -#include -#endif #include #include #ifdef HAVE_STRUCT_SYSINFO_TOTALRAM diff --git a/lib/intel_mmio.c b/lib/intel_mmio.c index a158b04..b266847 100644 --- a/lib/intel_mmio.c +++ b/lib/intel_mmio.c @@ -38,11 +38,6 @@ #include #include #include -#ifdef ANDROID -#include -#else -#include -#endif #include #include diff --git a/lib/intel_pci.c b/lib/intel_pci.c index 08fac3e..7228dae 100644 --- a/lib/intel_pci.c +++ b/lib/intel_pci.c @@ -33,11 +33,7 @@ #include #include #include -#ifdef ANDROID #include -#else -#include -#endif #include #include -- 1.7.7.6