Skip to content
Commit f3b8c0ca authored by Christian Engelmayer's avatar Christian Engelmayer Committed by Thomas Hellstrom
Browse files

drm/vmwgfx: Fix uninitialized return in vmw_kms_helper_dirty()



Function vmw_kms_helper_dirty() uses the uninitialized variable ret as
return value. Make the result deterministic and directly return as the
variable is unused anyway. Detected by Coverity CID 1324255.

Signed-off-by: default avatarChristian Engelmayer <cengelma@gmx.at>
Reviewed-by: default avatarSinclair Yeh <syeh@vmware.com>
Reviewed-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
parent 49558b47
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