From: Jesper Juhl Date: Sat, 14 Jan 2012 20:20:37 +0000 (+0100) Subject: gpu, drm, sis: Don't return uninitialized variable from sis_driver_load() X-Git-Tag: v3.3-rc2~30^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e087a7a1f3884750790bda580e22e9eccd5f4fa;p=pandora-kernel.git gpu, drm, sis: Don't return uninitialized variable from sis_driver_load() In sis_driver_load(), the only use of 'ret' is as the return value from the function, unfortunately it is never initialized, so the function just returns garbage when it succeeds. To fix that, remove the variable and just return 0 directly on success. Signed-off-by: Jesper Juhl Reviewed-by: Daniel Vetter Signed-off-by: Dave Airlie --- Reading git-diff-tree failed