Re: [PATCH libdrm 03/10] xf86drm: Fold drmDevice processing into process_device() helper

2018-06-28 Thread Robert Foss
Feel free to add my r-b to this patch. On 2018-06-25 19:36, Emil Velikov wrote: From: Emil Velikov Don't the duplicate (nearly) identical code across the two call sites. It improves legibility and the diff stat seems nice. Signed-off-by: Emil Velikov --- xf86drm.c | 159 ++-

[PATCH libdrm 03/10] xf86drm: Fold drmDevice processing into process_device() helper

2018-06-25 Thread Emil Velikov
From: Emil Velikov Don't the duplicate (nearly) identical code across the two call sites. It improves legibility and the diff stat seems nice. Signed-off-by: Emil Velikov --- xf86drm.c | 159 ++ 1 file changed, 51 insertions(+), 108 deletions