usb: dwc3: remove repeated setting of current_dr_role
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Thu, 6 May 2021 07:26:08 +0000 (15:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 May 2021 09:16:11 +0000 (11:16 +0200)
commit374ac7448caa73d689b50fd3c4fb59e40f1ab0b1
treea5e15f3dfbc9a0efb7f2d70eca0a5b370dcc496d
parentf42b333f288593936c99fa85ae5b52f8fa2a745b
usb: dwc3: remove repeated setting of current_dr_role

dwc3_set_prtcap() already sets current_dr_role as
DWC3_GCTL_PRTCAP_OTG, so remove the repeated one.

Acked-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20210506072608.32320-1-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/drd.c