OSDN Git Service

drm/radeon: Move assignment outside if condition
authorRan Sun <sunran001@208suo.com>
Mon, 24 Jul 2023 03:44:56 +0000 (11:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jul 2023 18:47:34 +0000 (14:47 -0400)
commit819362e4e62787343d986c5d5701121eeee60eab
tree6df678614d1425efbd7cb9904e6f2ba59042635d
parenta645529de995bb904cab3bb2d49c87c05245a124
drm/radeon: Move assignment outside if condition

Fixes the following checkpatch errors:

ERROR: do not use assignment in if condition

Signed-off-by: Ran Sun <sunran001@208suo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_legacy_tv.c