diff options
author | Jakob Bornecrantz <jakob@vmware.com> | 2011-10-17 13:59:44 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-10-18 12:39:03 +0400 |
commit | 74b5ea307689b5abf577670b40965921d5dba4d5 (patch) | |
tree | b09d7828c1540b18a15e045295cb66d73a0b42dd /drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | |
parent | 60a16a30d97e8acc9bfed5f4bd1dd03e21a479ea (diff) | |
download | linux-74b5ea307689b5abf577670b40965921d5dba4d5.tar.xz |
vmwgfx: Whitespace & code style in display unit
Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c')
-rw-r--r-- | drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c index a8830d730dc1..92f56bc594eb 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_ldu.c @@ -362,8 +362,7 @@ static int vmw_ldu_init(struct vmw_private *dev_priv, unsigned unit) int vmw_kms_init_legacy_display_system(struct vmw_private *dev_priv) { struct drm_device *dev = dev_priv->dev; - int i; - int ret; + int i, ret; if (dev_priv->ldu_priv) { DRM_INFO("ldu system already on\n"); @@ -371,7 +370,6 @@ int vmw_kms_init_legacy_display_system(struct vmw_private *dev_priv) } dev_priv->ldu_priv = kmalloc(sizeof(*dev_priv->ldu_priv), GFP_KERNEL); - if (!dev_priv->ldu_priv) return -ENOMEM; |