Skip to content

Commit ed492c9

Browse files
committed
Merge tag 'usb-serial-6.15-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-next
Johan writes: USB-serial update for 6.15-rc1 Here's a single USB-serial cleanup for 6.15-rc1 that's been sitting in linux-next for a few weeks without any reported issues. * tag 'usb-serial-6.15-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial: USB: serial: mos7840: drop unused defines
2 parents 434da42 + 6a7713e commit ed492c9

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

drivers/usb/serial/mos7840.c

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -66,29 +66,16 @@
6666

6767
#define MOS_WDR_TIMEOUT 5000 /* default urb timeout */
6868

69-
#define MOS_PORT1 0x0200
70-
#define MOS_PORT2 0x0300
71-
#define MOS_VENREG 0x0000
72-
#define MOS_MAX_PORT 0x02
73-
#define MOS_WRITE 0x0E
74-
#define MOS_READ 0x0D
75-
7669
/* Requests */
7770
#define MCS_RD_RTYPE 0xC0
7871
#define MCS_WR_RTYPE 0x40
7972
#define MCS_RDREQ 0x0D
8073
#define MCS_WRREQ 0x0E
81-
#define MCS_CTRL_TIMEOUT 500
8274
#define VENDOR_READ_LENGTH (0x01)
8375

84-
#define MAX_NAME_LEN 64
85-
8676
#define ZLP_REG1 0x3A /* Zero_Flag_Reg1 58 */
8777
#define ZLP_REG5 0x3E /* Zero_Flag_Reg5 62 */
8878

89-
/* For higher baud Rates use TIOCEXBAUD */
90-
#define TIOCEXBAUD 0x5462
91-
9279
/*
9380
* Vendor id and device id defines
9481
*

0 commit comments

Comments
 (0)