Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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.

Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/r/20220317035514.6378-9-mailhol.vincent@wanadoo.fr
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Vincent Mailhol and committed by
Greg Kroah-Hartman
2ddf7617 80b2b03b

+1 -2
+1 -2
include/linux/usb.h
··· 1969 1969 return eps[usb_pipeendpoint(pipe)]; 1970 1970 } 1971 1971 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) 1974 1973 { 1975 1974 struct usb_host_endpoint *ep; 1976 1975 unsigned epnum = usb_pipeendpoint(pipe);