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
2323 /* The maximum number of ports one device can grab at once */
2424 #define MAX_NUM_PORTS 16
2525
26−/* parity check flag */
27−#define RELEVANT_IFLAG(iflag) (iflag & (IGNBRK|BRKINT|IGNPAR|PARMRK|INPCK))
28−
2926 /* USB serial flags */
3027 #define USB_SERIAL_WRITE_BUSY 0
3128 #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