From: Jiri Benc Date: Thu, 20 Aug 2015 11:56:20 +0000 (+0200) Subject: ip_tunnels: remove custom alignment and packing X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ac1cf3990c99802eae3aa735b35c94a2131eb9fe;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ip_tunnels: remove custom alignment and packing The custom alignment of struct ip_tunnel_key is unnecessary. In struct sw_flow_key, it starts at offset 256, in struct ip_tunnel_info it's the first field. The structure is also packed even without the __packed keyword. Signed-off-by: Jiri Benc Acked-by: Thomas Graf Signed-off-by: David S. Miller --- diff --git a/include/net/ip_tunnels.h b/include/net/ip_tunnels.h index 984dbfa15e13..81cf11c931e4 100644 --- a/include/net/ip_tunnels.h +++ b/include/net/ip_tunnels.h @@ -36,7 +36,7 @@ struct ip_tunnel_key { __u8 ipv4_ttl; __be16 tp_src; __be16 tp_dst; -} __packed __aligned(4); /* Minimize padding. */ +}; /* Indicates whether the tunnel info structure represents receive * or transmit tunnel parameters.