aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Engestrom2018-03-22 12:08:37 -0500
committerEric Engestrom2018-03-22 13:27:02 -0500
commit00aa37443f32ff22e439093bc4039c21c74d0d2e (patch)
tree78c12dc145e64ef80a43b2b06583138f682c4b33 /xf86drmMode.c
parentbb45ce4e3ac751315bfd7fbfd9e1425bf515ec0d (diff)
downloadexternal-libgbm-00aa37443f32ff22e439093bc4039c21c74d0d2e.tar.gz
external-libgbm-00aa37443f32ff22e439093bc4039c21c74d0d2e.tar.xz
external-libgbm-00aa37443f32ff22e439093bc4039c21c74d0d2e.zip
xf86drmMode: merge successive mutually-exclusive #ifs
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Frank Binns <frank.binns@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'xf86drmMode.c')
-rw-r--r--xf86drmMode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xf86drmMode.c b/xf86drmMode.c
index cf8e1eac..9a15b5e7 100644
--- a/xf86drmMode.c
+++ b/xf86drmMode.c
@@ -827,8 +827,7 @@ int drmCheckModesettingSupported(const char *busid)
827 } 827 }
828#elif defined(__DragonFly__) 828#elif defined(__DragonFly__)
829 return 0; 829 return 0;
830#endif 830#elif defined(__OpenBSD__)
831#ifdef __OpenBSD__
832 int fd; 831 int fd;
833 struct drm_mode_card_res res; 832 struct drm_mode_card_res res;
834 drmModeResPtr r = 0; 833 drmModeResPtr r = 0;