[Drbd-dev] [PATCH] drbd: Remove __packed define

Gustavo F. Padovan gustavo at padovan.org
Mon Jul 19 06:50:16 CEST 2010


From: Gustavo F. Padovan <padovan at profusion.mobi>

__packed is already defined on <compiler.h>

Signed-off-by: Gustavo F. Padovan <padovan at profusion.mobi>
---
 drivers/block/drbd/drbd_int.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
index e9654c8..548b3fa 100644
--- a/drivers/block/drbd/drbd_int.h
+++ b/drivers/block/drbd/drbd_int.h
@@ -323,10 +323,6 @@ static inline void bm_xfer_ctx_bit_to_word_offset(struct bm_xfer_ctx *c)
 #endif
 }
 
-#ifndef __packed
-#define __packed __attribute__((packed))
-#endif
-
 /* This is the layout for a packet on the wire.
  * The byteorder is the network byte order.
  *     (except block_id and barrier fields.
-- 
1.7.1.1



More information about the drbd-dev mailing list