From f303f87e0fb6609f450dc556dc2b001b6845552c Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 16 Jun 2015 08:47:34 -0700 Subject: [PATCH] lacp: Remove packed attribute from struct lacp_pdu. The packed annotation doesn't do anything here because all of the members in the structure are naturally aligned. Signed-off-by: Ben Pfaff Acked-by: Flavio Leitner Acked-by: Ethan Jackson --- lib/lacp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/lacp.c b/lib/lacp.c index 65149fdb3..29b8b4387 100644 --- a/lib/lacp.c +++ b/lib/lacp.c @@ -62,7 +62,6 @@ struct lacp_info { BUILD_ASSERT_DECL(LACP_INFO_LEN == sizeof(struct lacp_info)); #define LACP_PDU_LEN 110 -OVS_PACKED( struct lacp_pdu { uint8_t subtype; /* Always 1. */ uint8_t version; /* Always 1. */ @@ -81,7 +80,7 @@ struct lacp_pdu { uint8_t collector_len; /* Always 16. */ ovs_be16 collector_delay; /* Maximum collector delay. Set to UINT16_MAX. */ uint8_t z3[64]; /* Combination of several fields. Always 0. */ -}); +}; BUILD_ASSERT_DECL(LACP_PDU_LEN == sizeof(struct lacp_pdu)); /* Implementation. */ -- 2.20.1