Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb76e356 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Daniel Vetter
Browse files

drm/qxl: Remove useless drm_fb_get_bpp_depth() call

parent 683aa14c
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -131,10 +131,6 @@ static int qxlfb_create_pinned_object(struct qxl_fbdev *qfbdev,
	int ret;
	int aligned_size, size;
	int height = mode_cmd->height;
	int bpp;
	int depth;

	drm_fb_get_bpp_depth(mode_cmd->pixel_format, &bpp, &depth);

	size = mode_cmd->pitches[0] * height;
	aligned_size = ALIGN(size, PAGE_SIZE);