usb: host: xhci: update hci_version operation in xhci_gen_setup()
authorLinyu Yuan <quic_linyyuan@quicinc.com>
Thu, 3 Mar 2022 11:09:01 +0000 (13:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Mar 2022 14:46:08 +0000 (15:46 +0100)
commitc63d5757d0fcbcb6cb4ceb038ef1c477a51c0930
tree8a54010916bc501d65283c659a6eb303c8c3bf69
parentddfaee6255945a59f897033ffb55cfcdc5bcf946
usb: host: xhci: update hci_version operation in xhci_gen_setup()

There is no need to store temperary value in hcc_params.

Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20220303110903.1662404-8-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci.c