aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-ep0.c
diff options
context:
space:
mode:
authorGeoffrey D. Bennett <[email protected]>2021-05-21 17:40:27 +0000
committerGreg Kroah-Hartman <[email protected]>2021-05-24 13:27:14 +0000
commit08377263a932db95e01c70a1b2fe597a605d645a (patch)
treeec2ee37d0845f52829862a91954a9632bca077c0 /drivers/usb/cdns3/cdns3-ep0.c
parentUSB: gadget: udc: fix kernel-doc syntax in file headers (diff)
downloadkernel-08377263a932db95e01c70a1b2fe597a605d645a.tar.gz
kernel-08377263a932db95e01c70a1b2fe597a605d645a.zip
USB: usbfs: remove double evaluation of usb_sndctrlpipe()
usb_sndctrlpipe() is evaluated in do_proc_control(), saved in a variable, then evaluated again. Use the saved variable instead, to match the use of usb_rcvctrlpipe(). Acked-by: Alan Stern <[email protected]> Signed-off-by: Geoffrey D. Bennett <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ep0.c')
0 files changed, 0 insertions, 0 deletions