diff options
| author | Geoffrey D. Bennett <[email protected]> | 2021-05-21 17:40:27 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-05-24 13:27:14 +0000 |
| commit | 08377263a932db95e01c70a1b2fe597a605d645a (patch) | |
| tree | ec2ee37d0845f52829862a91954a9632bca077c0 /drivers/usb/cdns3/cdns3-ep0.c | |
| parent | USB: gadget: udc: fix kernel-doc syntax in file headers (diff) | |
| download | kernel-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
