summaryrefslogtreecommitdiffstats
path: root/kernel/pid.c
diff options
context:
space:
mode:
authorVincent Mailhol <mailhol.vincent@wanadoo.fr>2022-03-06 16:55:16 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-15 18:24:02 +0100
commit61ef1709ee603b1d4677682c643986e817d5c6a4 (patch)
treed6f24a3a8489596af088437c040dc3f98c2f8d3f /kernel/pid.c
parent7f1697b1a5e8f210b4fb76cb9c3c26ac3aa2caf4 (diff)
downloadlinux-stable-61ef1709ee603b1d4677682c643986e817d5c6a4.tar.gz
linux-stable-61ef1709ee603b1d4677682c643986e817d5c6a4.tar.bz2
linux-stable-61ef1709ee603b1d4677682c643986e817d5c6a4.zip
usb: isp1760: remove redundant 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. The macro max_packet() not being used anymore also gets removed. Reviewed-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr> Link: https://lore.kernel.org/r/20220306075524.706660-3-mailhol.vincent@wanadoo.fr Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/pid.c')
0 files changed, 0 insertions, 0 deletions