]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8188eu: unused MEM_ALIGNMENT_OFFSET and MEM_ALIGNMENT_PADDING macros...
authorIvan Safonov <insafonov@gmail.com>
Tue, 27 Oct 2015 15:23:14 +0000 (22:23 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Oct 2015 00:09:08 +0000 (09:09 +0900)
This patch removes unused MEM_ALIGNMENT_OFFSET and MEM_ALIGNMENT_PADDING macros
from include/basic_types.h.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/basic_types.h

index 485d5c7493c3f393c14bcdf843f6894e6a608f80..6a2a147e6d15888386436cbcd8ec536b473a628f 100644 (file)
@@ -27,9 +27,6 @@ typedef void (*proc_t)(void *);
 
 #define FIELD_OFFSET(s, field) ((ssize_t)&((s *)(0))->field)
 
-#define MEM_ALIGNMENT_OFFSET   (sizeof(size_t))
-#define MEM_ALIGNMENT_PADDING  (sizeof(size_t) - 1)
-
 /* port from fw */
 /*  TODO: Macros Below are Sync from SD7-Driver. It is necessary
  * to check correctness */