From: Michael Fiedler Date: Mon, 20 Jun 2011 14:34:26 +0000 (+0200) Subject: staging: rtl8712: Remove duplicate #define for __attribute__ ((packed)) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=36e0b743d247b0aad58dc20753c38dfd05533aa1;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: rtl8712: Remove duplicate #define for __attribute__ ((packed)) There is already a macro defined in linux/compiler.h. Signed-off-by: Michael Fiedler Acked-by: Larry Finger Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8712/osdep_service.h b/drivers/staging/rtl8712/osdep_service.h index 3d3f73c5cd5b..791536952ba1 100644 --- a/drivers/staging/rtl8712/osdep_service.h +++ b/drivers/staging/rtl8712/osdep_service.h @@ -236,7 +236,5 @@ static inline u32 _RND512(u32 sz) return ((sz >> 9) + ((sz & 511) ? 1 : 0)) << 9; } -#define STRUCT_PACKED __attribute__ ((packed)) - #endif