projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
831eae6
)
Staging: dwc2: hcd.c: Fixed a coding style issue
author
Aldo Iljazi
<mail@aldo.io>
Sat, 30 Nov 2013 17:33:57 +0000
(19:33 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 17:01:45 +0000
(09:01 -0800)
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>
drivers/staging/dwc2/hcd.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/dwc2/hcd.c
b/drivers/staging/dwc2/hcd.c
index 24a4efe874d66fbb292b7a6d2943a5ad1549fd4d..24b57d7952c514b21dd7efdf3b1cb304b26fc626 100644
(file)
--- 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,
This page took
0.025786 seconds
and
5
git commands to generate.