Commit 8a945edd authored by Christian König's avatar Christian König

drm/ttm: fix removal of bo_count sysfs file

Only a zombie leftover from rebasing.
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Fixes: 3763d635 ("drm/ttm: add debugfs directory v2")
Reported-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210209131756.24650-1-christian.koenig@amd.com
parent 48e2b696
...@@ -49,8 +49,6 @@ static void ttm_global_release(void) ...@@ -49,8 +49,6 @@ static void ttm_global_release(void)
if (--ttm_glob_use_count > 0) if (--ttm_glob_use_count > 0)
goto out; goto out;
kobject_del(&glob->kobj);
kobject_put(&glob->kobj);
ttm_mem_global_release(&ttm_mem_glob); ttm_mem_global_release(&ttm_mem_glob);
__free_page(glob->dummy_read_page); __free_page(glob->dummy_read_page);
memset(glob, 0, sizeof(*glob)); memset(glob, 0, sizeof(*glob));
......
...@@ -55,7 +55,6 @@ extern struct ttm_global { ...@@ -55,7 +55,6 @@ extern struct ttm_global {
* Constant after init. * Constant after init.
*/ */
struct kobject kobj;
struct page *dummy_read_page; struct page *dummy_read_page;
spinlock_t lru_lock; spinlock_t lru_lock;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment