lkml.org 
[lkml]   [2010]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] drbd: Remove __packed define
Date
From: Gustavo F. Padovan <padovan@profusion.mobi>

__packed is already defined on <compiler.h>

Signed-off-by: Gustavo F. Padovan <padovan@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


\
 
 \ /
  Last update: 2010-07-19 06:55    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site