mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 12:10:23 -04:00
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:
committed by
Greg Kroah-Hartman
parent
2becc421c9
commit
0f6ba59969
@@ -14,12 +14,8 @@
|
||||
#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__*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user