diff options
author | Dave Airlie <airlied@linux.ie> | 2007-11-05 05:50:58 +0300 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-02-07 08:09:38 +0300 |
commit | bc5f4523f772cc7629c5c5a46cf4f2a07a5500b8 (patch) | |
tree | 8fa2f5194bb05d7e789e5d24a0fe3a7456568146 /drivers/char/drm/i915_mem.c | |
parent | 8562b3f25d6e23c9d9e48a32672944d1e8a2aa97 (diff) | |
download | linux-bc5f4523f772cc7629c5c5a46cf4f2a07a5500b8.tar.xz |
drm: run cleanfile across drm tree
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/i915_mem.c')
-rw-r--r-- | drivers/char/drm/i915_mem.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/drm/i915_mem.c b/drivers/char/drm/i915_mem.c index 56fb9b30a5d7..d360896f38a6 100644 --- a/drivers/char/drm/i915_mem.c +++ b/drivers/char/drm/i915_mem.c @@ -375,7 +375,7 @@ int i915_mem_destroy_heap( struct drm_device *dev, void *data, DRM_ERROR("get_heap failed"); return -EFAULT; } - + if (!*heap) { DRM_ERROR("heap not initialized?"); return -EFAULT; @@ -384,4 +384,3 @@ int i915_mem_destroy_heap( struct drm_device *dev, void *data, i915_mem_takedown( heap ); return 0; } - |