media: staging: media: atomisp: Remove unnecessary parentheses from conditional statement

This patch makes the following changes:
 * Removes additional, unnecessary parentheses from a conditional "if"
   statement

Link: https://lore.kernel.org/r/20240226194023.69070-5-bergh.jonathan@gmail.com

Signed-off-by: Jonathan Bergh <bergh.jonathan@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
Jonathan Bergh 2024-02-26 19:40:21 +00:00 committed by Mauro Carvalho Chehab
parent 505d92d706
commit 5d076c5e70

View File

@ -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 lines below. In order to satisfy KW an additional if
has been added. This one will always yield true. 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; dest_buf->buf_src.queue_id = queue_id;
} else { } else {
assert(xmem_addr != mmgr_EXCEPTION); assert(xmem_addr != mmgr_EXCEPTION);