diff options
author | Paul Zimmerman <Paul.Zimmerman@synopsys.com> | 2013-11-22 16:43:50 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-25 11:59:58 -0800 |
commit | b66a3f057332075bc4cf6f8d1f91a5bb87b6e761 (patch) | |
tree | 758b72feb0b7e8a437e10be576322cdf52896774 /drivers | |
parent | c17d482decb40c73429678d554cd7fad6afc238b (diff) | |
download | linux-stable-b66a3f057332075bc4cf6f8d1f91a5bb87b6e761.tar.gz linux-stable-b66a3f057332075bc4cf6f8d1f91a5bb87b6e761.tar.bz2 linux-stable-b66a3f057332075bc4cf6f8d1f91a5bb87b6e761.zip |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/dwc2/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/dwc2/core.c b/drivers/staging/dwc2/core.c index 82dbcf34b78d..07b397412825 100644 --- a/drivers/staging/dwc2/core.c +++ b/drivers/staging/dwc2/core.c @@ -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) |