diff options
author | Johan Hovold <johan@kernel.org> | 2021-04-12 11:47:33 +0200 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2021-04-13 18:23:34 +0200 |
commit | 46388e865273bc67dc29fee9772e1b8b59eaafd3 (patch) | |
tree | e48a3d43e6a34c78fb1037fe556c1c4f817b19a8 /drivers/usb/serial/io_ti.h | |
parent | 35aeb1b31b73359902d8c8031c8dae5d390fd14f (diff) | |
download | linux-46388e865273bc67dc29fee9772e1b8b59eaafd3.tar.gz linux-46388e865273bc67dc29fee9772e1b8b59eaafd3.tar.bz2 linux-46388e865273bc67dc29fee9772e1b8b59eaafd3.zip |
USB: serial: io_ti: drop unnecessary packed attributes
Drop unnecessary packed attributes from structures that don't need it
and use the __packed macro consistently.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/io_ti.h')
-rw-r--r-- | drivers/usb/serial/io_ti.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/serial/io_ti.h b/drivers/usb/serial/io_ti.h index e31406c252dd..24fe1312c84d 100644 --- a/drivers/usb/serial/io_ti.h +++ b/drivers/usb/serial/io_ti.h @@ -141,7 +141,7 @@ struct out_endpoint_desc_block { u8 YBufAddr; u8 YByteCount; u8 BufferSize; -} __attribute__((packed)); +}; /* @@ -159,7 +159,7 @@ struct ump_uart_config { char cXoff; /* XOFF character */ u8 bUartMode; /* Will be updated when a user */ /* interface is defined */ -} __attribute__((packed)); +}; /* @@ -170,7 +170,7 @@ struct ump_uart_config { struct ump_interrupt { u8 bICode; /* Interrupt code (interrupt num) */ u8 bIInfo; /* Interrupt information */ -} __attribute__((packed)); +}; #define TIUMP_GET_PORT_FROM_CODE(c) (((c) >> 6) & 0x01) |