From: Johan Hovold Date: Tue, 17 Mar 2015 17:24:30 +0000 (+0100) Subject: greybus: uart: remove packed-attribute from line-coding struct X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~1682 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=afcf8c715e7cb615dad484913b70c714594ce159;p=karo-tx-linux.git greybus: uart: remove packed-attribute from line-coding struct Remove packed-attribute from line-coding struct, whose members are all naturally aligned. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/uart.c b/drivers/staging/greybus/uart.c index 575ca568a4f1..51e4f7bad47f 100644 --- a/drivers/staging/greybus/uart.c +++ b/drivers/staging/greybus/uart.c @@ -68,7 +68,7 @@ struct gb_serial_line_coding { #define GB_SERIAL_SPACE_PARITY 4 __u8 data; -} __attribute__ ((packed)); +}; struct gb_uart_set_line_coding_request { struct gb_serial_line_coding line_coding;