]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
greybus: uart: remove packed-attribute from line-coding struct
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 17 Mar 2015 17:24:30 +0000 (18:24 +0100)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 17 Mar 2015 21:34:44 +0000 (22:34 +0100)
Remove packed-attribute from line-coding struct, whose members are all
naturally aligned.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/uart.c

index 575ca568a4f1bcd82721e3ad7139aac824bdfe4a..51e4f7bad47f2b82d8b54dd488ea71ab1656d67d 100644 (file)
@@ -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;