diff options
author | Vincent Mailhol <mailhol.vincent@wanadoo.fr> | 2022-03-17 06:55:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-23 11:33:53 +0300 |
commit | 2ddf7617d568fdcbd3cc454bb4849fa6d3398c86 (patch) | |
tree | a62ae8a8b82e903ac90677e493bb5f78743cc00e /include/linux/usb.h | |
parent | 80b2b03bacfc071ceaac034fa81d535d27d57b31 (diff) | |
download | linux-2ddf7617d568fdcbd3cc454bb4849fa6d3398c86.tar.xz |
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>
Diffstat (limited to 'include/linux/usb.h')
-rw-r--r-- | include/linux/usb.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/usb.h b/include/linux/usb.h index 572e136f6314..8127782aa7a1 100644 --- a/include/linux/usb.h +++ b/include/linux/usb.h @@ -1969,8 +1969,7 @@ usb_pipe_endpoint(struct usb_device *dev, unsigned int pipe) return eps[usb_pipeendpoint(pipe)]; } -static inline u16 usb_maxpacket(struct usb_device *udev, int pipe, - /* int is_out deprecated */ ...) +static inline u16 usb_maxpacket(struct usb_device *udev, int pipe) { struct usb_host_endpoint *ep; unsigned epnum = usb_pipeendpoint(pipe); |