[Drbd-dev] [PATCH 1/1 linux-next] drbd: remove __packed definition
Fabian Frederick
fabf at skynet.be
Tue Jul 12 20:28:00 CEST 2016
__packed is already defined in compiler-gcc.h under __GNUC__
(see include/linux/compiler.h)
Signed-off-by: Fabian Frederick <fabf at skynet.be>
---
drivers/block/drbd/drbd_protocol.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/block/drbd/drbd_protocol.h b/drivers/block/drbd/drbd_protocol.h
index 4d29680..0fc0172 100644
--- a/drivers/block/drbd/drbd_protocol.h
+++ b/drivers/block/drbd/drbd_protocol.h
@@ -80,10 +80,6 @@ enum drbd_packet {
P_CONNECTION_FEATURES = 0xfffe /* FIXED for the next century! */
};
-#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.
--
2.8.1
More information about the drbd-dev
mailing list