mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 22:53:20 +00:00
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:
parent
505d92d706
commit
5d076c5e70
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user