All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/ttm: fix removal of bo_count sysfs file
@ 2021-02-09 13:17 Christian König
  2021-02-09 13:32 ` Daniel Vetter
  2021-02-09 13:51 ` Nirmoy
  0 siblings, 2 replies; 5+ messages in thread
From: Christian König @ 2021-02-09 13:17 UTC (permalink / raw)
  To: nirmodas, dri-devel

Only a zombie leftover from rebasing.

Signed-off-by: Christian König <christian.koenig@amd.com>
Fixes: 3763d635deaa ("drm/ttm: add debugfs directory v2")
---
 drivers/gpu/drm/ttm/ttm_device.c | 2 --
 include/drm/ttm/ttm_device.h     | 1 -
 2 files changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/ttm/ttm_device.c b/drivers/gpu/drm/ttm/ttm_device.c
index ac0903c9e60a..8bb61dd26437 100644
--- a/drivers/gpu/drm/ttm/ttm_device.c
+++ b/drivers/gpu/drm/ttm/ttm_device.c
@@ -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));
diff --git a/include/drm/ttm/ttm_device.h b/include/drm/ttm/ttm_device.h
index 7bc8bb797161..035bbc044a3b 100644
--- a/include/drm/ttm/ttm_device.h
+++ b/include/drm/ttm/ttm_device.h
@@ -55,7 +55,6 @@ extern struct ttm_global {
 	 * Constant after init.
 	 */
 
-	struct kobject kobj;
 	struct page *dummy_read_page;
 	spinlock_t lru_lock;
 
-- 
2.25.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-02-09 13:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-09 13:17 [PATCH] drm/ttm: fix removal of bo_count sysfs file Christian König
2021-02-09 13:32 ` Daniel Vetter
2021-02-09 13:34   ` Christian König
2021-02-09 13:47     ` Daniel Vetter
2021-02-09 13:51 ` Nirmoy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.