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 <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
This commit is contained in:
Johan Hovold
2015-03-17 18:24:30 +01:00
committed by Greg Kroah-Hartman
parent b41caa99a2
commit afcf8c715e

View 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;