History

usb: remove third argument of usb_maxpacket()

Now that all users of usb_maxpacket() have been migrated to only use two arguments, remove the third variadic argument which was introduced for the transition.

Vincent Mailhol committed 4 years ago

Commit 2ddf7611 parent 80b2b031 file · +1 −2Browse files

Unified · Split

include/linux/usb.h+1−2
@@ -1969,8 +1969,7 @@ usb_pipe_endpoint(struct usb_device *dev, unsigned int pipe) · 1968 unmodified lines
19691969 return eps[usb_pipeendpoint(pipe)];
19701970 }
19711971
1972−static inline u16 usb_maxpacket(struct usb_device *udev, int pipe,
1973− /* int is_out deprecated */ ...)
1972+static inline u16 usb_maxpacket(struct usb_device *udev, int pipe)
19741973 {
19751974 struct usb_host_endpoint *ep;
19761975 unsigned epnum = usb_pipeendpoint(pipe);

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