Merge branch 'sh-latest' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal...
[pandora-kernel.git] / drivers / gpu / drm / ttm / ttm_object.c
index 75e9d6f..ebddd44 100644 (file)
@@ -206,7 +206,7 @@ void ttm_base_object_unref(struct ttm_base_object **p_base)
         */
 
        write_lock(&tdev->object_lock);
-       (void)kref_put(&base->refcount, &ttm_release_base);
+       kref_put(&base->refcount, ttm_release_base);
        write_unlock(&tdev->object_lock);
 }
 EXPORT_SYMBOL(ttm_base_object_unref);