staging: rtl8712: base_types: Remove unused macros
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>
This commit is contained in:
parent
2becc421c9
commit
0f6ba59969
|
@ -14,12 +14,8 @@
|
||||||
#ifndef __BASIC_TYPES_H__
|
#ifndef __BASIC_TYPES_H__
|
||||||
#define __BASIC_TYPES_H__
|
#define __BASIC_TYPES_H__
|
||||||
|
|
||||||
#define SUCCESS 0
|
|
||||||
#define FAIL (-1)
|
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
#define SIZE_T __kernel_size_t
|
|
||||||
#define sint signed int
|
#define sint signed int
|
||||||
|
|
||||||
/* Should we extend this to be host_addr_t and target_addr_t for case:
|
/* 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 addr_t unsigned long
|
||||||
|
|
||||||
#define MEM_ALIGNMENT_OFFSET (sizeof(SIZE_T))
|
|
||||||
#define MEM_ALIGNMENT_PADDING (sizeof(SIZE_T) - 1)
|
|
||||||
|
|
||||||
#endif /*__BASIC_TYPES_H__*/
|
#endif /*__BASIC_TYPES_H__*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue