diff options
| author | Christian Engelmayer <[email protected]> | 2015-09-18 22:31:10 +0000 |
|---|---|---|
| committer | Thomas Hellstrom <[email protected]> | 2015-09-24 07:20:37 +0000 |
| commit | 49558b471369e790650df8706b5608fee27af42c (patch) | |
| tree | e9c4465c6d17828723ecdb4fc089eb28b4f515e8 /drivers/fpga/fpga-mgr.c | |
| parent | drm/vmwgfx: Only build on X86 (diff) | |
| download | kernel-49558b471369e790650df8706b5608fee27af42c.tar.gz kernel-49558b471369e790650df8706b5608fee27af42c.zip | |
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 <[email protected]>
Reviewed-by: Sinclair Yeh <[email protected]>
Reviewed-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
