Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b66a3f05 authored by Paul Zimmerman's avatar Paul Zimmerman Committed by Greg Kroah-Hartman
Browse files

staging: dwc2: remove useless cast



Remove useless cast in dwc2_get_otg_version()

Signed-off-by: default avatarPaul Zimmerman <paulz@synopsys.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c17d482d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)