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.
Unified · Split
| @@ -1969,8 +1969,7 @@ usb_pipe_endpoint(struct usb_device *dev, unsigned int pipe) · 1968 unmodified lines | ||
| 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); |