drm/ttm: fix removal of bo_count sysfs file
Only a zombie leftover from rebasing.
Signed-off-by: Christian König <christian.koenig@amd.com>
Fixes: 3763d635de
("drm/ttm: add debugfs directory v2")
Reported-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210209131756.24650-1-christian.koenig@amd.com
This commit is contained in:
Родитель
48e2b69683
Коммит
8a945edd18
|
@ -49,8 +49,6 @@ static void ttm_global_release(void)
|
|||
if (--ttm_glob_use_count > 0)
|
||||
goto out;
|
||||
|
||||
kobject_del(&glob->kobj);
|
||||
kobject_put(&glob->kobj);
|
||||
ttm_mem_global_release(&ttm_mem_glob);
|
||||
__free_page(glob->dummy_read_page);
|
||||
memset(glob, 0, sizeof(*glob));
|
||||
|
|
|
@ -55,7 +55,6 @@ extern struct ttm_global {
|
|||
* Constant after init.
|
||||
*/
|
||||
|
||||
struct kobject kobj;
|
||||
struct page *dummy_read_page;
|
||||
spinlock_t lru_lock;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче