summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wilc1000/wilc_oswrapper.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-02 14:03:03 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-02 14:17:47 +0900
commit8e1d4e5cf25c2901e8d3f322f1eab17ba193c094 (patch)
tree61b8456f37bb96fe25922ac23f37d0ac76de43b3 /drivers/staging/wilc1000/wilc_oswrapper.h
parent0b85618f3a02994b721975508ec86c185d61a736 (diff)
downloadop-kernel-dev-8e1d4e5cf25c2901e8d3f322f1eab17ba193c094.zip
op-kernel-dev-8e1d4e5cf25c2901e8d3f322f1eab17ba193c094.tar.gz
staging: wilc1000: remove unused data types
There's some "custom" data types defined that are never used in the driver, so remove them before we work on converting the rest to be "standard" data types. Cc: Johnny Kim <johnny.kim@atmel.com> Cc: Rachel Kim <rachel.kim@atmel.com> Cc: Dean Lee <dean.lee@atmel.com> Cc: Chris Park <chris.park@atmel.com> 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.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/wilc1000/wilc_oswrapper.h b/drivers/staging/wilc1000/wilc_oswrapper.h
index 7375ec4..a2ccf43 100644
--- a/drivers/staging/wilc1000/wilc_oswrapper.h
+++ b/drivers/staging/wilc1000/wilc_oswrapper.h
@@ -23,10 +23,6 @@ typedef signed short WILC_Sint16;
typedef signed int WILC_Sint32;
typedef signed long long WILC_Sint64;
-/* Floating types */
-typedef float WILC_Float;
-typedef double WILC_Double;
-
/* Boolean type */
typedef enum {
WILC_FALSE = 0,
@@ -35,15 +31,9 @@ typedef enum {
/* Character types */
typedef char WILC_Char;
-typedef WILC_Uint16 WILC_WideChar;
-#define WILC_OS_INFINITY (~((WILC_Uint32)0))
#define WILC_NULL ((void *)0)
-/* standard min and max macros */
-#define WILC_MIN(a, b) (((a) < (b)) ? (a) : (b))
-#define WILC_MAX(a, b) (((a) > (b)) ? (a) : (b))
-
/* Os Configuration File */
#include "wilc_osconfig.h"
#include "wilc_platform.h"
OpenPOWER on IntegriCloud