Skip to content

Commit 0fdbeab

Browse files
Jiri Slaby (SUSE)gregkh
authored andcommitted
tty: moxa: drop version dump to logs
The arbitrary MOXA_VERSION is dumped to the logs when the driver is loaded. Avoid this as a driver should be silent unless something breaks. Signed-off-by: Jiri Slaby (SUSE) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent e10865a commit 0fdbeab

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/tty/moxa.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,6 @@
347347
#define MX_PARMARK 0xA0
348348
#define MX_PARSPACE 0x20
349349

350-
#define MOXA_VERSION "6.0k"
351-
352350
#define MOXA_FW_HDRLEN 32
353351

354352
#define MOXAMAJOR 172
@@ -1327,9 +1325,6 @@ static int __init moxa_init(void)
13271325
struct moxa_board_conf *brd = moxa_boards;
13281326
unsigned int i;
13291327

1330-
printk(KERN_INFO "MOXA Intellio family driver version %s\n",
1331-
MOXA_VERSION);
1332-
13331328
tty_port_init(&moxa_service_port);
13341329

13351330
moxaDriver = tty_alloc_driver(MAX_PORTS + 1,

0 commit comments

Comments
 (0)