From: Greg Kroah-Hartman Date: Tue, 2 Jun 2015 05:03:03 +0000 (+0900) Subject: staging: wilc1000: remove unused data types X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8e1d4e5cf25c2901e8d3f322f1eab17ba193c094;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Rachel Kim Cc: Dean Lee Cc: Chris Park Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/wilc_oswrapper.h b/drivers/staging/wilc1000/wilc_oswrapper.h index 7375ec44cc42..a2ccf43a4a96 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"