drm: Do not assign in if condition
authorThierry Reding <treding@nvidia.com>
Wed, 10 Dec 2014 12:03:37 +0000 (13:03 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Dec 2014 13:13:44 +0000 (14:13 +0100)
commit0cc0b223e7c9b4642c86d46f20d3d4a4a89bede3
treec186a98a6ecb09cf89f335dbd8c539d4f3f973dc
parent2f6c538924108fbffb72a0696f28537b364080fa
drm: Do not assign in if condition

checkpatch requires the assignment and the check to be separate
statements.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_crtc.c