Applied. Thanks! On Fri, Dec 29, 2023 at 12:43 PM Marcelo Mendes Spessoto Junior <marcelomspessoto@xxxxxxxxx> wrote: > > Remove braces for single statement if expression for freesync.c file > > Signed-off-by: Marcelo Mendes Spessoto Junior <marcelomspessoto@xxxxxxxxx> > --- > drivers/gpu/drm/amd/display/modules/freesync/freesync.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c b/drivers/gpu/drm/amd/display/modules/freesync/freesync.c > index 47296d155..3955b7e4b 100644 > --- a/drivers/gpu/drm/amd/display/modules/freesync/freesync.c > +++ b/drivers/gpu/drm/amd/display/modules/freesync/freesync.c > @@ -81,6 +81,7 @@ struct mod_freesync *mod_freesync_create(struct dc *dc) > void mod_freesync_destroy(struct mod_freesync *mod_freesync) > { > struct core_freesync *core_freesync = NULL; > + > if (mod_freesync == NULL) > return; > core_freesync = MOD_FREESYNC_TO_CORE(mod_freesync); > @@ -278,9 +279,8 @@ static void apply_below_the_range(struct core_freesync *core_freesync, > } > } else if (last_render_time_in_us > (max_render_time_in_us + in_out_vrr->btr.margin_in_us / 2)) { > /* Enter Below the Range */ > - if (!in_out_vrr->btr.btr_active) { > + if (!in_out_vrr->btr.btr_active) > in_out_vrr->btr.btr_active = true; > - } > } > > /* BTR set to "not active" so disengage */ > -- > 2.39.2 >