mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
staging: dwc2: remove useless cast
Remove useless cast in dwc2_get_otg_version() Signed-off-by: Paul Zimmerman <paulz@synopsys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c17d482dec
commit
b66a3f0573
@ -2733,7 +2733,7 @@ void dwc2_set_parameters(struct dwc2_hsotg *hsotg,
|
||||
|
||||
u16 dwc2_get_otg_version(struct dwc2_hsotg *hsotg)
|
||||
{
|
||||
return (u16)(hsotg->core_params->otg_ver == 1 ? 0x0200 : 0x0103);
|
||||
return hsotg->core_params->otg_ver == 1 ? 0x0200 : 0x0103;
|
||||
}
|
||||
|
||||
int dwc2_check_core_status(struct dwc2_hsotg *hsotg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user