mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
drm/qxl: squash lines for simple wrapper functions
Remove unneeded variables and assignments. Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: http://patchwork.freedesktop.org/patch/msgid/1473863952-7658-5-git-send-email-yamada.masahiro@socionext.com
This commit is contained in:
committed by
Sean Paul
parent
03d6356d45
commit
96c594ba4f
@@ -203,12 +203,9 @@ qxl_release_free(struct qxl_device *qdev,
|
||||
static int qxl_release_bo_alloc(struct qxl_device *qdev,
|
||||
struct qxl_bo **bo)
|
||||
{
|
||||
int ret;
|
||||
/* pin releases bo's they are too messy to evict */
|
||||
ret = qxl_bo_create(qdev, PAGE_SIZE, false, true,
|
||||
QXL_GEM_DOMAIN_VRAM, NULL,
|
||||
bo);
|
||||
return ret;
|
||||
return qxl_bo_create(qdev, PAGE_SIZE, false, true,
|
||||
QXL_GEM_DOMAIN_VRAM, NULL, bo);
|
||||
}
|
||||
|
||||
int qxl_release_list_add(struct qxl_release *release, struct qxl_bo *bo)
|
||||
|
||||
Reference in New Issue
Block a user