Skip to content
Commit 4ad7056a authored by Daniel Vetter's avatar Daniel Vetter Committed by Gerd Hoffmann
Browse files

drm/virtio: plane_state->fb iff plane_state->crtc



Checking both is one too much, so wrap a WARN_ON around it to stope
the copypasta.

Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20191213172612.1514842-8-daniel.vetter@ffwll.ch
Cc: David Airlie <airlied@linux.ie>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: virtualization@lists.linux-foundation.org
Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
parent f2f7df4f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment