libdrm: Remove gratuitous blank lines
Usage of blank lines can be a matter of taste, of course, but for these we can surely all agree that they're not needed and inconsistent. Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Thierry Reding <treding@nvidia.com>main
parent
56d8dd6a9c
commit
d2d361cddd
|
@ -114,7 +114,6 @@ void drmModeFreeResources(drmModeResPtr ptr)
|
||||||
drmFree(ptr->connectors);
|
drmFree(ptr->connectors);
|
||||||
drmFree(ptr->encoders);
|
drmFree(ptr->encoders);
|
||||||
drmFree(ptr);
|
drmFree(ptr);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void drmModeFreeFB(drmModeFBPtr ptr)
|
void drmModeFreeFB(drmModeFBPtr ptr)
|
||||||
|
@ -132,7 +131,6 @@ void drmModeFreeCrtc(drmModeCrtcPtr ptr)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
drmFree(ptr);
|
drmFree(ptr);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void drmModeFreeConnector(drmModeConnectorPtr ptr)
|
void drmModeFreeConnector(drmModeConnectorPtr ptr)
|
||||||
|
@ -145,7 +143,6 @@ void drmModeFreeConnector(drmModeConnectorPtr ptr)
|
||||||
drmFree(ptr->props);
|
drmFree(ptr->props);
|
||||||
drmFree(ptr->modes);
|
drmFree(ptr->modes);
|
||||||
drmFree(ptr);
|
drmFree(ptr);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void drmModeFreeEncoder(drmModeEncoderPtr ptr)
|
void drmModeFreeEncoder(drmModeEncoderPtr ptr)
|
||||||
|
@ -340,7 +337,6 @@ int drmModeDirtyFB(int fd, uint32_t bufferId,
|
||||||
return DRM_IOCTL(fd, DRM_IOCTL_MODE_DIRTYFB, &dirty);
|
return DRM_IOCTL(fd, DRM_IOCTL_MODE_DIRTYFB, &dirty);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Crtc functions
|
* Crtc functions
|
||||||
*/
|
*/
|
||||||
|
@ -377,7 +373,6 @@ drmModeCrtcPtr drmModeGetCrtc(int fd, uint32_t crtcId)
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int drmModeSetCrtc(int fd, uint32_t crtcId, uint32_t bufferId,
|
int drmModeSetCrtc(int fd, uint32_t crtcId, uint32_t bufferId,
|
||||||
uint32_t x, uint32_t y, uint32_t *connectors, int count,
|
uint32_t x, uint32_t y, uint32_t *connectors, int count,
|
||||||
drmModeModeInfoPtr mode)
|
drmModeModeInfoPtr mode)
|
||||||
|
@ -610,7 +605,6 @@ int drmModeDetachMode(int fd, uint32_t connector_id, drmModeModeInfoPtr mode_inf
|
||||||
return DRM_IOCTL(fd, DRM_IOCTL_MODE_DETACHMODE, &res);
|
return DRM_IOCTL(fd, DRM_IOCTL_MODE_DETACHMODE, &res);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
drmModePropertyPtr drmModeGetProperty(int fd, uint32_t property_id)
|
drmModePropertyPtr drmModeGetProperty(int fd, uint32_t property_id)
|
||||||
{
|
{
|
||||||
struct drm_mode_get_property prop;
|
struct drm_mode_get_property prop;
|
||||||
|
@ -944,7 +938,6 @@ int drmModeSetPlane(int fd, uint32_t plane_id, uint32_t crtc_id,
|
||||||
uint32_t crtc_w, uint32_t crtc_h,
|
uint32_t crtc_w, uint32_t crtc_h,
|
||||||
uint32_t src_x, uint32_t src_y,
|
uint32_t src_x, uint32_t src_y,
|
||||||
uint32_t src_w, uint32_t src_h)
|
uint32_t src_w, uint32_t src_h)
|
||||||
|
|
||||||
{
|
{
|
||||||
struct drm_mode_set_plane s;
|
struct drm_mode_set_plane s;
|
||||||
|
|
||||||
|
@ -965,7 +958,6 @@ int drmModeSetPlane(int fd, uint32_t plane_id, uint32_t crtc_id,
|
||||||
return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETPLANE, &s);
|
return DRM_IOCTL(fd, DRM_IOCTL_MODE_SETPLANE, &s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
drmModePlanePtr drmModeGetPlane(int fd, uint32_t plane_id)
|
drmModePlanePtr drmModeGetPlane(int fd, uint32_t plane_id)
|
||||||
{
|
{
|
||||||
struct drm_mode_get_plane ovr, counts;
|
struct drm_mode_get_plane ovr, counts;
|
||||||
|
|
Loading…
Reference in New Issue