xf86drm: Fold drmDevice processing into process_device() helper
Don't duplicate the nearly identical code across the two call sites. It improves legibility and the diff stat seems nice. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Tested-by: Robert Foss <robert.foss@collabora.com> Reviewed-by: Robert Foss <robert.foss@collabora.com> Reviewed-by: Eric Engestrom <eric@engestrom.ch>
Loading
Please register or sign in to comment