Skip to content

Commit 7788f54

Browse files
0x7f454c46gregkh
authored andcommitted
serial_core: Remove unused member in uart_port
It should remove the align-padding before @name. [yes, there's a "hole" in the structure now, but that's fine, no one cares. If they do care, the whole thing should be restructured using pahole to find a better ordering. Removing this field is good as some drivers have been known to abuse it for other things when they shouldn't have been doing that. -- gregkh] Signed-off-by: Dmitry Safonov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 0095ab4 commit 7788f54

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

include/linux/serial_core.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ struct uart_port {
246246

247247
unsigned char hub6; /* this should be in the 8250 driver */
248248
unsigned char suspended;
249-
unsigned char unused;
250249
const char *name; /* port name */
251250
struct attribute_group *attr_group; /* port specific attributes */
252251
const struct attribute_group **tty_groups; /* all attributes (serial core use only) */

0 commit comments

Comments
 (0)