xf86drm: Fix indentation
libdrm uses spaces for indentation. Fix the two inconsistent lines in this file. Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>main
parent
eebefaf72c
commit
e17cad1994
|
@ -2908,7 +2908,7 @@ static int drmParseSubsystemType(int maj, int min)
|
|||
|
||||
return -EINVAL;
|
||||
#elif defined(__OpenBSD__)
|
||||
return DRM_BUS_PCI;
|
||||
return DRM_BUS_PCI;
|
||||
#else
|
||||
#warning "Missing implementation of drmParseSubsystemType"
|
||||
return -EINVAL;
|
||||
|
@ -3419,7 +3419,7 @@ int drmGetDevice2(int fd, uint32_t flags, drmDevicePtr *device)
|
|||
closedir(sysdir);
|
||||
free(local_devices);
|
||||
if (*device == NULL)
|
||||
return -ENODEV;
|
||||
return -ENODEV;
|
||||
return 0;
|
||||
|
||||
free_devices:
|
||||
|
|
Loading…
Reference in New Issue