mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
media: atomisp: Delete braces
WARNING:BRACES: braces {} are not necessary for single statement blocks
Link: https://lore.kernel.org/linux-media/20201214110156.6152-9-Philipp.Gerlesberger@fau.de
Co-developed-by: Andrey Khlopkov <ij72uhux@stud.informatik.uni-erlangen.de>
Signed-off-by: Andrey Khlopkov <ij72uhux@stud.informatik.uni-erlangen.de>
Signed-off-by: Philipp Gerlesberger <Philipp.Gerlesberger@fau.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
31e6736628
commit
2a35625b84
@@ -23,9 +23,7 @@ int ia_css_timer_get_current_tick(struct ia_css_clock_tick *curr_ts)
|
||||
{
|
||||
assert(curr_ts);
|
||||
if (!curr_ts)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
curr_ts->ticks = (clock_value_t)gp_timer_read(GP_TIMER_SEL);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user