Re: [PATCH] drm/radeon: Move assignment outside if condition

2023-07-24 Thread Alex Deucher
Applied. Thanks! On Sun, Jul 23, 2023 at 11:45 PM wrote: > > Fixes the following checkpatch errors: > > ERROR: do not use assignment in if condition > > Signed-off-by: Ran Sun > --- > drivers/gpu/drm/radeon/radeon_legacy_tv.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > >

[PATCH] drm/radeon: Move assignment outside if condition

2023-07-23 Thread sunran001
Fixes the following checkpatch errors: ERROR: do not use assignment in if condition Signed-off-by: Ran Sun --- drivers/gpu/drm/radeon/radeon_legacy_tv.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/radeon_legacy_tv.c b/drivers/gpu/drm/radeon