drm: omapdrm: Remove unused omap_framebuffer_bo function
The function is never used, remove it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
committed by
Tomi Valkeinen
parent
0f9abbd028
commit
6d39e63d55
@@ -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..
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user