summaryrefslogtreecommitdiff
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2021-04-12 12:47:34 +0300
committerJohan Hovold <johan@kernel.org>2021-04-13 19:23:34 +0300
commita1db84f6cab79780954ffd55bb114c52b867d81d (patch)
tree6afd9885e392e9ea840dbcce281383b39138400f /drivers/usb/serial
parent46388e865273bc67dc29fee9772e1b8b59eaafd3 (diff)
downloadlinux-a1db84f6cab79780954ffd55bb114c52b867d81d.tar.xz
USB: serial: ti_usb_3410_5052: drop unnecessary packed attributes
Drop unnecessary packed attributes from structures that don't need it. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/ti_usb_3410_5052.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c
index d9bffb2de8bf..11e6792981b7 100644
--- a/drivers/usb/serial/ti_usb_3410_5052.c
+++ b/drivers/usb/serial/ti_usb_3410_5052.c
@@ -184,7 +184,7 @@ struct ti_uart_config {
char cXon;
char cXoff;
u8 bUartMode;
-} __packed;
+};
/* Get port status */
struct ti_port_status {
@@ -193,7 +193,7 @@ struct ti_port_status {
u8 bErrorCode;
u8 bMSR;
u8 bLSR;
-} __packed;
+};
/* Purge modes */
#define TI_PURGE_OUTPUT 0x00
@@ -236,13 +236,13 @@ struct ti_read_data_bytes {
__u8 bModuleId;
__u8 bErrorCode;
__u8 bData[];
-} __packed;
+};
/* Interrupt struct */
struct ti_interrupt {
__u8 bICode;
__u8 bIInfo;
-} __packed;
+};
/* Interrupt codes */
#define TI_CODE_HARDWARE_ERROR 0xFF