summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_oswrapper.h
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-05-29 22:52:13 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-31 08:56:56 +0900
commit544c69dc83844f9db20af868027df0faf0cf9dd3 (patch)
treeb2c0fd65814124ae2ff6b90f86bc11339f3b42a8 /drivers/staging/wilc1000/wilc_oswrapper.h
parente5af056149ab91c55199e6633b5e69d370b5226c (diff)
downloadop-kernel-dev-544c69dc83844f9db20af868027df0faf0cf9dd3.zip
op-kernel-dev-544c69dc83844f9db20af868027df0faf0cf9dd3.tar.gz
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.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/staging/wilc1000/wilc_oswrapper.h b/drivers/staging/wilc1000/wilc_oswrapper.h
index e50267e..df288c8 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"
OpenPOWER on IntegriCloud