staging: rtl8712: base_types: Remove unused macros
authorMauro Dreissig <mukadr@gmail.com>
Wed, 1 Jul 2020 21:44:20 +0000 (18:44 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Jul 2020 08:32:13 +0000 (10:32 +0200)
Those #define's are not used anywhere, get rid of them.

Signed-off-by: Mauro Dreissig <mukadr@gmail.com>
Link: https://lore.kernel.org/r/20200701214420.5566-3-mukadr@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/basic_types.h

index b8ecd92ca9d4532665773ca92bcd0c899cceada8..aecded87dd4c8733742c433f4111b009f9f82c27 100644 (file)
 #ifndef __BASIC_TYPES_H__
 #define __BASIC_TYPES_H__
 
-#define SUCCESS        0
-#define FAIL   (-1)
-
 #include <linux/types.h>
 
-#define SIZE_T __kernel_size_t
 #define sint signed int
 
 /* Should we extend this to be host_addr_t and target_addr_t for case:
@@ -28,8 +24,5 @@
  */
 #define addr_t unsigned long
 
-#define MEM_ALIGNMENT_OFFSET   (sizeof(SIZE_T))
-#define MEM_ALIGNMENT_PADDING  (sizeof(SIZE_T) - 1)
-
 #endif /*__BASIC_TYPES_H__*/