diff options
author | Joonyoung Shim <jy0922.shim@samsung.com> | 2015-09-01 10:22:54 +0300 |
---|---|---|
committer | Inki Dae <daeinki@gmail.com> | 2015-09-02 17:10:34 +0300 |
commit | faec262b14f3d92601c06b5c73b45ea71d0d164b (patch) | |
tree | dfcbf3185003b8c6d8bd77cc7699f6257ca4a10c /drivers/gpu/drm/exynos/exynos_drm_fb.c | |
parent | 8d31758ecfe156fa4775017858613a5087eb57bf (diff) | |
download | linux-faec262b14f3d92601c06b5c73b45ea71d0d164b.tar.xz |
drm/exynos: remove exynos_drm_fb_get_buf_cnt()
We can get buffer count of framebuffer using drm_format_num_planes(), so
keeping exynos_drm_fb_get_buf_cnt() is unnecessary.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'drivers/gpu/drm/exynos/exynos_drm_fb.c')
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_drm_fb.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_fb.c b/drivers/gpu/drm/exynos/exynos_drm_fb.c index 849925ca0cdd..5087f60985f5 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_fb.c +++ b/drivers/gpu/drm/exynos/exynos_drm_fb.c @@ -121,15 +121,6 @@ static struct drm_framebuffer_funcs exynos_drm_fb_funcs = { .dirty = exynos_drm_fb_dirty, }; -unsigned int exynos_drm_fb_get_buf_cnt(struct drm_framebuffer *fb) -{ - struct exynos_drm_fb *exynos_fb; - - exynos_fb = to_exynos_fb(fb); - - return exynos_fb->buf_cnt; -} - struct drm_framebuffer * exynos_drm_framebuffer_init(struct drm_device *dev, struct drm_mode_fb_cmd2 *mode_cmd, |