drm/ast: Remove useless drm_fb_get_bpp_depth() call
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 6 Jun 2016 18:14:12 +0000 (21:14 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 7 Jun 2016 19:40:34 +0000 (21:40 +0200)
commit683aa14c6232f1c50a1a0e03dd08a767ca41a6b1
treed42eddd63eb6e903d3c5e06f1bb51af91b0bd0d7
parentc61b93fe51b1330cfc4d73084b924931bd65c8f0
drm/ast: Remove useless drm_fb_get_bpp_depth() call

The function has no side effect and its returned values are ignored,
don't call it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1465236852-11710-1-git-send-email-laurent.pinchart@ideasonboard.com
drivers/gpu/drm/ast/ast_fb.c