[PATCH 1/1 linux-next] drbd: remove __packed definition

From: Fabian Frederick
Date: Tue Jul 12 2016 - 14:28:13 EST


__packed is already defined in compiler-gcc.h under __GNUC__
(see include/linux/compiler.h)

Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
---
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