History

USB: serial: drop unused iflag macro

Drop the RELEVANT_IFLAG() macro which essentially hasn't been used for over a decade except in some remnant debug printks that were recently removed.

Johan Hovold committed 7 years ago

Commit 80ed5371 parent 5b67b101 file · +0 −3Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/usb/serial.h+0−3
@@ -23,9 +23,6 @@ · 22 unmodified lines
23/* The maximum number of ports one device can grab at once */23/* The maximum number of ports one device can grab at once */
24#define MAX_NUM_PORTS 1624#define MAX_NUM_PORTS 16
25 25
26/* parity check flag */
27#define RELEVANT_IFLAG(iflag) (iflag & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK))
28
29/* USB serial flags */26/* USB serial flags */
30#define USB_SERIAL_WRITE_BUSY 027#define USB_SERIAL_WRITE_BUSY 0
31#define USB_SERIAL_THROTTLED 128#define USB_SERIAL_THROTTLED 1

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t