diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-05-29 22:52:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-31 08:56:56 +0900 |
commit | 544c69dc83844f9db20af868027df0faf0cf9dd3 (patch) | |
tree | b2c0fd65814124ae2ff6b90f86bc11339f3b42a8 /drivers/staging/wilc1000/wilc_oswrapper.h | |
parent | staging: wilc1000: remove linux version checks (diff) | |
download | linux-dev-544c69dc83844f9db20af868027df0faf0cf9dd3.tar.xz linux-dev-544c69dc83844f9db20af868027df0faf0cf9dd3.zip |
staging: wilc1000: remove platform version checks
For code that is integrated into mainline Linux, checks for
the OS platform make no sense, because we know that we
are on Linux.
This removes all checks and the associated dead code.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000/wilc_oswrapper.h')
-rw-r--r-- | drivers/staging/wilc1000/wilc_oswrapper.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/staging/wilc1000/wilc_oswrapper.h b/drivers/staging/wilc1000/wilc_oswrapper.h index e50267ec1ef4..df288c8be626 100644 --- a/drivers/staging/wilc1000/wilc_oswrapper.h +++ b/drivers/staging/wilc1000/wilc_oswrapper.h @@ -46,21 +46,7 @@ typedef WILC_Uint16 WILC_WideChar; /* Os Configuration File */ #include "wilc_osconfig.h" - -/* Platform specific include */ -#if WILC_PLATFORM == WILC_WIN32 -#include "wilc_platform.h" -#elif WILC_PLATFORM == WILC_NU -#include "wilc_platform.h" -#elif WILC_PLATFORM == WILC_MTK #include "wilc_platform.h" -#elif WILC_PLATFORM == WILC_LINUX -#include "wilc_platform.h" -#elif WILC_PLATFORM == WILC_LINUXKERNEL -#include "wilc_platform.h" -#else -#error "OS not supported" -#endif /* Logging Functions */ #include "wilc_log.h" |