staging: media: ipu3: remove unnecessary parentheses from return
Subsystems (3)
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.
Signed-off-by Ashmit Kumar <[email protected]>
---
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
@@ -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