diff options
author | Christopher Harvey <charvey@matrox.com> | 2013-02-18 22:33:49 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-04-29 23:56:40 (GMT) |
commit | 67d411ddb9def691572cd5ad0ee2991510d860d2 (patch) | |
tree | 3c39b1695c8b438d5229dcb75ae7a28b3d4442c8 /drivers/gpu/drm/mgag200 | |
parent | 36d9b1541cedecd59e9d8fff0bbf9b7e9dd9704e (diff) | |
download | linux-fsl-qoriq-67d411ddb9def691572cd5ad0ee2991510d860d2.tar.xz |
drm/mgag200: Remove pointless call to drm_fb_get_bpp_depth
Signed-off-by: Christopher Harvey <charvey@matrox.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/mgag200')
-rw-r--r-- | drivers/gpu/drm/mgag200/mgag200_fb.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/mgag200/mgag200_fb.c b/drivers/gpu/drm/mgag200/mgag200_fb.c index 2ebe0f6..421beab 100644 --- a/drivers/gpu/drm/mgag200/mgag200_fb.c +++ b/drivers/gpu/drm/mgag200/mgag200_fb.c @@ -105,12 +105,9 @@ static int mgag200fb_create_object(struct mga_fbdev *afbdev, struct drm_gem_object **gobj_p) { struct drm_device *dev = afbdev->helper.dev; - u32 bpp, depth; u32 size; struct drm_gem_object *gobj; - int ret = 0; - drm_fb_get_bpp_depth(mode_cmd->pixel_format, &depth, &bpp); size = mode_cmd->pitches[0] * mode_cmd->height; ret = mgag200_gem_create(dev, size, true, &gobj); |