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
Этот коммит содержится в:

коммит произвёл
Sean Paul

родитель
03d6356d45
Коммит
96c594ba4f
@@ -57,11 +57,8 @@ static struct qxl_rect *drawable_set_clipping(struct qxl_device *qdev,
|
||||
static int
|
||||
alloc_drawable(struct qxl_device *qdev, struct qxl_release **release)
|
||||
{
|
||||
int ret;
|
||||
ret = qxl_alloc_release_reserved(qdev, sizeof(struct qxl_drawable),
|
||||
QXL_RELEASE_DRAWABLE, release,
|
||||
NULL);
|
||||
return ret;
|
||||
return qxl_alloc_release_reserved(qdev, sizeof(struct qxl_drawable),
|
||||
QXL_RELEASE_DRAWABLE, release, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Ссылка в новой задаче
Block a user