silence warning

main
Alan Hourihane 2008-02-22 11:38:08 +00:00
parent fad1db2d73
commit a72399da2a
1 changed files with 1 additions and 1 deletions

View File

@ -2492,7 +2492,7 @@ int drm_mm_takedown_ioctl(struct drm_device *dev, void *data, struct drm_file *f
goto out;
}
ret = 0;
if (ret = drm_bo_clean_mm(dev, arg->mem_type, 0)) {
if ((ret = drm_bo_clean_mm(dev, arg->mem_type, 0))) {
if (ret == -EINVAL)
DRM_ERROR("Memory manager type %d not clean. "
"Delaying takedown\n", arg->mem_type);