diff options
author | Emil Velikov <emil.l.velikov@gmail.com> | 2020-05-30 14:46:40 +0200 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2020-06-15 15:49:50 +0200 |
commit | 264ddd077c72092178153fc32d510dcecff32eeb (patch) | |
tree | 239802070d84bc7d70c8cc15f9fff2524831bfc0 /Documentation/Makefile | |
parent | drm: vmwgfx: remove drm_driver::master_set() return type (diff) | |
download | linux-264ddd077c72092178153fc32d510dcecff32eeb.tar.xz linux-264ddd077c72092178153fc32d510dcecff32eeb.zip |
drm/auth: make drm_{set,drop}master_ioctl symmetrical
Currently the ret handling is all over the place - with two redundant
assignments and another one addressed earlier.
Use the exact same flow in both functions.
v2: straighten the code flow, instead of just removing the assignments
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20200530124640.4176323-2-emil.l.velikov@gmail.com
Diffstat (limited to 'Documentation/Makefile')
0 files changed, 0 insertions, 0 deletions