From afcf8c715e7cb615dad484913b70c714594ce159 Mon Sep 17 00:00:00 2001 From: Johan Hovold Date: Tue, 17 Mar 2015 18:24:30 +0100 Subject: [PATCH] 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 --- drivers/staging/greybus/uart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.45.2