[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240226194023.69070-5-bergh.jonathan@gmail.com>
Date: Mon, 26 Feb 2024 20:40:21 +0100
From: Jonathan Bergh <bergh.jonathan@...il.com>
To: hdegoede@...hat.com
Cc: mchehab@...nel.org,
linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org,
Jonathan Bergh <bergh.jonathan@...il.com>
Subject: [PATCH 4/6] staging: media: atomisp: Remove unnecessary parentheses from conditional statement
This patch makes the following changes:
* Removes additional, unnecessary parentheses from a conditional "if"
statement
Signed-off-by: Jonathan Bergh <bergh.jonathan@...il.com>
---
drivers/staging/media/atomisp/pci/sh_css_sp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/media/atomisp/pci/sh_css_sp.c b/drivers/staging/media/atomisp/pci/sh_css_sp.c
index aad0a40d08cb..281cbbb89a14 100644
--- a/drivers/staging/media/atomisp/pci/sh_css_sp.c
+++ b/drivers/staging/media/atomisp/pci/sh_css_sp.c
@@ -420,7 +420,7 @@ sh_css_copy_buffer_attr_to_spbuffer(struct ia_css_buffer_sp *dest_buf,
lines below. In order to satisfy KW an additional if
has been added. This one will always yield true.
*/
- if ((queue_id < SH_CSS_MAX_NUM_QUEUES))
+ if (queue_id < SH_CSS_MAX_NUM_QUEUES)
dest_buf->buf_src.queue_id = queue_id;
} else {
assert(xmem_addr != mmgr_EXCEPTION);
--
2.40.1
Powered by blists - more mailing lists