aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorGeoffrey D. Bennett <g@b4.vu>2021-05-22 03:10:27 +0930
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-24 15:27:14 +0200
commit08377263a932db95e01c70a1b2fe597a605d645a (patch)
treeec2ee37d0845f52829862a91954a9632bca077c0 /drivers/usb/cdns3/cdns3-ti.c
parent1eef7953129c3c1d0ebe5f668f781157acb3fb84 (diff)
downloadlinux-08377263a932db95e01c70a1b2fe597a605d645a.tar.gz
linux-08377263a932db95e01c70a1b2fe597a605d645a.tar.bz2
linux-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 <stern@rowland.harvard.edu> Signed-off-by: Geoffrey D. Bennett <g@b4.vu> Link: https://lore.kernel.org/r/20210521174027.GA116484@m.b4.vu Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions