diff options
author | Vincent Mailhol <[email protected]> | 2022-03-06 16:55:15 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-03-15 18:23:53 +0100 |
commit | 7f1697b1a5e8f210b4fb76cb9c3c26ac3aa2caf4 (patch) | |
tree | 2be18cff8e799754ae12db1e5304a9d4bdf6b513 /net/lapb/lapb_in.c | |
parent | d790a9db918f7c2356ea2f775cd868551218fc07 (diff) |
usb: oxu210hp-hcd: remove redundant call to max_packet() macro
The function usb_endpoint_maxp() (called by usb_maxpacket()) already
does the sanitazation of the USB endpoint max packet size. The call to
max_packet() does the same thing and is thus removed.
However, the macro max_packet() is kept because it is used elsewhere
in the file.
Signed-off-by: Vincent Mailhol <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions