summaryrefslogtreecommitdiff
path: root/drivers/staging/dwc2
diff options
context:
space:
mode:
authorAldo Iljazi <mail@aldo.io>2013-11-30 19:33:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-03 09:01:45 -0800
commit6bf2e2a59769264f40c75a31b07603faab9460b5 (patch)
tree5864b728e44ae529750738ef14f3024bfa685b08 /drivers/staging/dwc2
parent831eae69a855983099072e0c0e490bca6f02d54e (diff)
Staging: dwc2: hcd.c: Fixed a coding style issue
Fixed a coding style issue, specifically: Line 1798: Removed parentheses since return is not a function. Signed-off-by: Aldo Iljazi <mail@aldo.io> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dwc2')
-rw-r--r--drivers/staging/dwc2/hcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/dwc2/hcd.c b/drivers/staging/dwc2/hcd.c
index 24a4efe874d6..24b57d7952c5 100644
--- a/drivers/staging/dwc2/hcd.c
+++ b/drivers/staging/dwc2/hcd.c
@@ -1795,7 +1795,7 @@ int dwc2_hcd_get_frame_number(struct dwc2_hsotg *hsotg)
int dwc2_hcd_is_b_host(struct dwc2_hsotg *hsotg)
{
- return (hsotg->op_state == OTG_STATE_B_HOST);
+ return hsotg->op_state == OTG_STATE_B_HOST;
}
static struct dwc2_hcd_urb *dwc2_hcd_urb_alloc(struct dwc2_hsotg *hsotg,