[cairo] [PATCH 18/72] drm: dropped unused _cairo_drm_size_is_valid()
Bryce Harrington
bryce at osg.samsung.com
Fri Jan 15 12:26:30 PST 2016
On Tue, Dec 29, 2015 at 10:16:56AM +0100, Enrico Weigelt, metux IT consult wrote:
> Signed-off-by: Enrico Weigelt, metux IT consult <enrico.weigelt at gr13.net>
LGTM,
Reviewed-by: Bryce Harrington <bryce at osg.samsung.com>
> ---
> src/drm/cairo-drm-private.h | 4 ----
> src/drm/cairo-drm.c | 13 -------------
> 2 files changed, 17 deletions(-)
>
> diff --git a/src/drm/cairo-drm-private.h b/src/drm/cairo-drm-private.h
> index 2db7f38..2c621a0 100644
> --- a/src/drm/cairo-drm-private.h
> +++ b/src/drm/cairo-drm-private.h
> @@ -231,8 +231,4 @@ slim_hidden_proto (cairo_drm_device_get_for_fd);
>
> slim_hidden_proto (cairo_drm_surface_create_for_name);
>
> -cairo_private cairo_bool_t
> -_cairo_drm_size_is_valid (cairo_device_t *abstract_device,
> - int width, int height);
> -
> #endif /* CAIRO_DRM_PRIVATE_H */
> diff --git a/src/drm/cairo-drm.c b/src/drm/cairo-drm.c
> index 661e181..ad8c827 100644
> --- a/src/drm/cairo-drm.c
> +++ b/src/drm/cairo-drm.c
> @@ -375,16 +375,3 @@ cairo_drm_device_throttle (cairo_device_t *abstract_device)
> if (unlikely (status))
> _cairo_status_set_error (&device->base.status, status);
> }
> -
> -cairo_bool_t
> -_cairo_drm_size_is_valid (cairo_device_t *abstract_device,
> - int width, int height)
> -{
> - cairo_drm_device_t *device = (cairo_drm_device_t *) abstract_device;
> -
> - if (unlikely (device->base.status))
> - return FALSE;
> -
> - return width <= device->max_surface_size &&
> - height <= device->max_surface_size;
> -}
> --
> 2.6.4.442.g545299f
>
> --
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
More information about the cairo
mailing list