commit | 49558b471369e790650df8706b5608fee27af42c | [log] [tgz] |
---|---|---|
author | Christian Engelmayer <cengelma@gmx.at> | Sat Sep 19 00:31:10 2015 +0200 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Thu Sep 24 00:20:37 2015 -0700 |
tree | e9c4465c6d17828723ecdb4fc089eb28b4f515e8 | |
parent | b07bb761cf6a333b2108cdbe4ffee66407189bb1 [diff] |
drm/vmwgfx: Fix uninitialized return in vmw_cotable_unbind() Function vmw_cotable_unbind() 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 1324256. Signed-off-by: Christian Engelmayer <cengelma@gmx.at> Reviewed-by: Sinclair Yeh <syeh@vmware.com> Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>