[PATCH libdrm] xf86drmMode: merge successive mutually-exclusive #ifs
Frank Binns
frank.binns at imgtec.com
Thu Mar 22 17:22:41 UTC 2018
Reviewed-by: Frank Binns <frank.binns at imgtec.com>
Eric Engestrom <eric.engestrom at imgtec.com> writes:
> Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
> ---
> xf86drmMode.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/xf86drmMode.c b/xf86drmMode.c
> index e010547602c6f38ba5a0..6111f477ba0ee25c1f05 100644
> --- a/xf86drmMode.c
> +++ b/xf86drmMode.c
> @@ -829,8 +829,7 @@ int drmCheckModesettingSupported(const char *busid)
> }
> #elif defined(__DragonFly__)
> return 0;
> -#endif
> -#ifdef __OpenBSD__
> +#elif defined(__OpenBSD__)
> int fd;
> struct drm_mode_card_res res;
> drmModeResPtr r = 0;
More information about the dri-devel
mailing list