aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/omap_fb.c
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2016-04-26 20:35:43 +0000
committerTomi Valkeinen <[email protected]>2016-06-06 07:14:28 +0000
commit6d39e63d5504a40a575a32b13f89423aa0a3698c (patch)
tree0cdac4b6a4853482fbd68d50e5c66abb72183a6b /drivers/gpu/drm/omapdrm/omap_fb.c
parentdrm: omapdrm: Remove unused omap_gem_tiled_size function (diff)
downloadkernel-6d39e63d5504a40a575a32b13f89423aa0a3698c.tar.gz
kernel-6d39e63d5504a40a575a32b13f89423aa0a3698c.zip
drm: omapdrm: Remove unused omap_framebuffer_bo function
The function is never used, remove it. Signed-off-by: Laurent Pinchart <[email protected]> Signed-off-by: Tomi Valkeinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fb.c')
-rw-r--r--drivers/gpu/drm/omapdrm/omap_fb.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/omapdrm/omap_fb.c b/drivers/gpu/drm/omapdrm/omap_fb.c
index f84570d1636c..530567cc25b7 100644
--- a/drivers/gpu/drm/omapdrm/omap_fb.c
+++ b/drivers/gpu/drm/omapdrm/omap_fb.c
@@ -320,14 +320,6 @@ void omap_framebuffer_unpin(struct drm_framebuffer *fb)
mutex_unlock(&omap_fb->lock);
}
-struct drm_gem_object *omap_framebuffer_bo(struct drm_framebuffer *fb, int p)
-{
- struct omap_framebuffer *omap_fb = to_omap_framebuffer(fb);
- if (p >= drm_format_num_planes(fb->pixel_format))
- return NULL;
- return omap_fb->planes[p].bo;
-}
-
/* iterate thru all the connectors, returning ones that are attached
* to the same fb..
*/