diff options
| author | John Youn <[email protected]> | 2017-01-18 04:31:28 +0000 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2017-01-24 09:04:19 +0000 |
| commit | ab2832028f07f19da9587310d3a6978dc4a34d61 (patch) | |
| tree | 04b0e3329eef8c8779e7eb8f64da129951f17292 /drivers/usb/dwc2/hcd_queue.c | |
| parent | usb: dwc2: Fix comment alignment and format (diff) | |
| download | kernel-ab2832028f07f19da9587310d3a6978dc4a34d61.tar.gz kernel-ab2832028f07f19da9587310d3a6978dc4a34d61.zip | |
usb: dwc2: Fix logical continuations
Fix the formatting of logical statements to end the line with the
logical operator.
Signed-off-by: John Youn <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'drivers/usb/dwc2/hcd_queue.c')
| -rw-r--r-- | drivers/usb/dwc2/hcd_queue.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/usb/dwc2/hcd_queue.c b/drivers/usb/dwc2/hcd_queue.c index 06d036f608f1..faf45dfbf652 100644 --- a/drivers/usb/dwc2/hcd_queue.c +++ b/drivers/usb/dwc2/hcd_queue.c @@ -76,9 +76,8 @@ static int dwc2_periodic_channel_available(struct dwc2_hsotg *hsotg) int num_channels; num_channels = hsotg->params.host_channels; - if (hsotg->periodic_channels + hsotg->non_periodic_channels < - num_channels - && hsotg->periodic_channels < num_channels - 1) { + if ((hsotg->periodic_channels + hsotg->non_periodic_channels < + num_channels) && (hsotg->periodic_channels < num_channels - 1)) { status = 0; } else { dev_dbg(hsotg->dev, |
