]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm: Nuke the useless 'ret' variable from drm_mode_convert_umode()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 13 Mar 2018 15:07:57 +0000 (17:07 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 16 Mar 2018 16:31:06 +0000 (18:31 +0200)
commitdf550548c6339e0d032af4a7f9bd7200ab0c827b
tree85c982c7416220e28d68255fe320daaa20c1c6f9
parent80343b3e477f3b3b5a01be664a526878a18eb57d
drm: Nuke the useless 'ret' variable from drm_mode_convert_umode()

No need to store the return value in a variable since we don't have to
do any unwinding.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180313150759.27620-1-ville.syrjala@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_modes.c