• Vincent Mailhol's avatar
    net: remove third argument of usb_maxpacket() · e13adbfa
    Vincent Mailhol authored
    The third argument of usb_maxpacket(): in_out has been deprecated
    because it could be derived from the second argument (e.g. using
    usb_pipeout(pipe)).
    
    N.B. function usb_maxpacket() was made variadic to accommodate the
    transition from the old prototype with three arguments to the new one
    with only two arguments (so that no renaming is needed). The variadic
    argument is to be removed once all users of usb_maxpacket() get
    migrated.
    
    CC: Oliver Neukum <oliver@neukum.org>
    CC: David S. Miller <davem@davemloft.net>
    CC: Jakub Kicinski <kuba@kernel.org>
    CC: Woojung Huh <woojung.huh@microchip.com>
    CC: Felix Fietkau <nbd@nbd.name>
    CC: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
    CC: Ryder Lee <ryder.lee@mediatek.com>
    CC: Kalle Valo <kvalo@kernel.org>
    CC: Matthias Brugger <matthias.bgg@gmail.com>
    CC: Stanislaw Gruszka <stf_xl@wp.pl>
    CC: Helmut Schaa <helmut.schaa@googlemail.com>
    Signed-off-by: default avatarVincent Mailhol <mailhol.vincent@wanadoo.fr>
    Link: https://lore.kernel.org/r/20220317035514.6378-6-mailhol.vincent@wanadoo.frSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    e13adbfa
lan78xx.c 119 KB