Emil Velikov 264ddd077c 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
2020-06-15 14:49:50 +01:00
..
2020-05-27 14:31:42 +03:00
2020-05-27 14:31:42 +03:00
2020-05-27 14:31:42 +03:00
2020-05-27 14:31:42 +03:00
2020-05-27 14:31:42 +03:00
2020-04-03 17:11:41 +02:00
2020-06-08 15:14:16 +02:00
2020-04-17 08:12:22 +02:00
2020-04-03 17:11:41 +02:00
2020-05-27 14:31:42 +03:00
2020-04-03 17:11:41 +02:00
2020-04-28 15:05:19 +02:00
2020-05-27 14:31:42 +03:00
2020-05-29 12:58:11 +02:00
2020-03-16 09:27:09 +01:00
2020-05-27 14:31:42 +03:00
2020-04-03 17:11:41 +02:00
2020-05-27 14:31:42 +03:00
2020-05-19 21:52:16 +01:00
2020-04-28 16:05:15 +02:00
2020-04-28 16:05:15 +02:00