From: Alexander Beregalov Date: Sun, 20 Nov 2011 18:05:16 +0000 (+0400) Subject: Staging: cxt1e1: remove unnecessary includes X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=05c0cb4e4070385d9ab79d8d4b844904eee5f3a1;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git Staging: cxt1e1: remove unnecessary includes Remove *BSD, SunOS and userspace includes. Signed-off-by: Alexander Beregalov Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/cxt1e1/comet.h b/drivers/staging/cxt1e1/comet.h index 5cb3afda0112..16144437f27b 100644 --- a/drivers/staging/cxt1e1/comet.h +++ b/drivers/staging/cxt1e1/comet.h @@ -38,12 +38,7 @@ *----------------------------------------------------------------------------- */ -#if defined(__FreeBSD__) || defined (__NetBSD__) -#include -#else #include -#endif - #define VINT32 volatile u_int32_t diff --git a/drivers/staging/cxt1e1/libsbew.h b/drivers/staging/cxt1e1/libsbew.h index 5c99646cd103..c5a1be989a6d 100644 --- a/drivers/staging/cxt1e1/libsbew.h +++ b/drivers/staging/cxt1e1/libsbew.h @@ -42,10 +42,6 @@ *----------------------------------------------------------------------------- */ -#ifndef __KERNEL__ -#include -#endif - #ifdef __cplusplus extern "C" { diff --git a/drivers/staging/cxt1e1/musycc.h b/drivers/staging/cxt1e1/musycc.h index 68f3660f4477..9e4d1688bee8 100644 --- a/drivers/staging/cxt1e1/musycc.h +++ b/drivers/staging/cxt1e1/musycc.h @@ -40,11 +40,7 @@ *----------------------------------------------------------------------------- */ -#if defined (__FreeBSD__) || defined (__NetBSD__) -#include -#else #include -#endif #define VINT8 volatile u_int8_t #define VINT32 volatile u_int32_t diff --git a/drivers/staging/cxt1e1/pmc93x6_eeprom.h b/drivers/staging/cxt1e1/pmc93x6_eeprom.h index c3ada87efd26..6ede389f7ea8 100644 --- a/drivers/staging/cxt1e1/pmc93x6_eeprom.h +++ b/drivers/staging/cxt1e1/pmc93x6_eeprom.h @@ -38,11 +38,7 @@ *----------------------------------------------------------------------------- */ -#if defined (__FreeBSD__) || defined (__NetBSD__) -#include -#else #include -#endif #ifdef __KERNEL__ diff --git a/drivers/staging/cxt1e1/pmcc4.h b/drivers/staging/cxt1e1/pmcc4.h index e046b87763a2..54158cc75c32 100644 --- a/drivers/staging/cxt1e1/pmcc4.h +++ b/drivers/staging/cxt1e1/pmcc4.h @@ -42,18 +42,7 @@ *----------------------------------------------------------------------------- */ - -#if defined(__FreeBSD__) || defined(__NetBSD__) -#include -#else -#ifndef __KERNEL__ -#include -#else #include -#endif -#endif - - typedef int status_t; diff --git a/drivers/staging/cxt1e1/pmcc4_cpld.h b/drivers/staging/cxt1e1/pmcc4_cpld.h index 6d8f0337aa3e..e008b9ee0a3b 100644 --- a/drivers/staging/cxt1e1/pmcc4_cpld.h +++ b/drivers/staging/cxt1e1/pmcc4_cpld.h @@ -35,16 +35,7 @@ *----------------------------------------------------------------------------- */ - -#if defined(__FreeBSD__) || defined(__NetBSD__) -#include -#else -#ifndef __KERNEL__ -#include -#else #include -#endif -#endif #ifdef __cplusplus extern "C" diff --git a/drivers/staging/cxt1e1/pmcc4_drv.c b/drivers/staging/cxt1e1/pmcc4_drv.c index e1f07fabd22d..3a9eab5f08de 100644 --- a/drivers/staging/cxt1e1/pmcc4_drv.c +++ b/drivers/staging/cxt1e1/pmcc4_drv.c @@ -85,11 +85,6 @@ char OSSIid_pmcc4_drvc[] = #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt -#if defined (__FreeBSD__) || defined (__NetBSD__) -#include -#include -#include -#else #include #include "pmcc4_sysdep.h" #include @@ -98,7 +93,6 @@ char OSSIid_pmcc4_drvc[] = #include /* include for timer */ #include #include -#endif #include "sbecom_inline_linux.h" #include "libsbew.h" diff --git a/drivers/staging/cxt1e1/sbew_ioc.h b/drivers/staging/cxt1e1/sbew_ioc.h index 14d371904d1f..b66d6f256867 100644 --- a/drivers/staging/cxt1e1/sbew_ioc.h +++ b/drivers/staging/cxt1e1/sbew_ioc.h @@ -60,14 +60,7 @@ *----------------------------------------------------------------------------- */ -#ifndef __KERNEL__ -#include -#endif -#ifdef SunOS -#include -#else #include -#endif #ifdef __cplusplus extern "C"