Commit a1db84f6 authored by Johan Hovold's avatar Johan Hovold

USB: serial: ti_usb_3410_5052: drop unnecessary packed attributes

Drop unnecessary packed attributes from structures that don't need it.
Reviewed-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent 46388e86
...@@ -184,7 +184,7 @@ struct ti_uart_config { ...@@ -184,7 +184,7 @@ struct ti_uart_config {
char cXon; char cXon;
char cXoff; char cXoff;
u8 bUartMode; u8 bUartMode;
} __packed; };
/* Get port status */ /* Get port status */
struct ti_port_status { struct ti_port_status {
...@@ -193,7 +193,7 @@ struct ti_port_status { ...@@ -193,7 +193,7 @@ struct ti_port_status {
u8 bErrorCode; u8 bErrorCode;
u8 bMSR; u8 bMSR;
u8 bLSR; u8 bLSR;
} __packed; };
/* Purge modes */ /* Purge modes */
#define TI_PURGE_OUTPUT 0x00 #define TI_PURGE_OUTPUT 0x00
...@@ -236,13 +236,13 @@ struct ti_read_data_bytes { ...@@ -236,13 +236,13 @@ struct ti_read_data_bytes {
__u8 bModuleId; __u8 bModuleId;
__u8 bErrorCode; __u8 bErrorCode;
__u8 bData[]; __u8 bData[];
} __packed; };
/* Interrupt struct */ /* Interrupt struct */
struct ti_interrupt { struct ti_interrupt {
__u8 bICode; __u8 bICode;
__u8 bIInfo; __u8 bIInfo;
} __packed; };
/* Interrupt codes */ /* Interrupt codes */
#define TI_CODE_HARDWARE_ERROR 0xFF #define TI_CODE_HARDWARE_ERROR 0xFF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment