Skip to contentSkip to conversation

staging: media: ipu3: remove unnecessary parentheses from return

PATCH New Ashmit Kumar 1 participant 1 message Aug 4

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 staging: media: ipu3: remove unnecessary parentheses from return

The Linux kernel coding style specifies that return is not a function and therefore parentheses are not required.

---
Changes in v3:
- Formatted as a standalone patch (removed 3/3 series numbering).

 drivers/staging/media/ipu3/ipu3-css.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/media/ipu3/ipu3-css.c +1 -1
index 8063401246f..84fc98dd352 100644
@@ -1400,7 +1400,7 @@ bool imgu_css_pipe_queue_empty(struct imgu_css *css, unsigned int pipe)
 		if (!list_empty(&css_pipe->queue[q].bufs))
 			break;
 	spin_unlock(&css_pipe->qlock);
-	return (q == IPU3_CSS_QUEUES);
+	return q == IPU3_CSS_QUEUES;
 }
 
 bool imgu_css_queue_empty(struct imgu_css *css)
Signature · 1 line
2.51.0.windows.1