Skip to contentSkip to conversation

drm/debugfs: remove redundant info from gem_names

PATCH New Marcin Slusarz 1 participant 1 message Oct 16, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/debugfs: remove redundant info from gem_names

It's a relic of "drm: Convert proc files to seq_file and introduce debugfs", which wrongly converted DRM_INFO + sprintf to 2 seq_printfs.

---
 drivers/gpu/drm/drm_info.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/drm_info.c +0 -2
index 8928edb..d498ec7 100644
@@ -204,8 +204,6 @@ static int drm_gem_one_name_info(int id, void *ptr, void *data)
 	struct drm_gem_object *obj = ptr;
 	struct seq_file *m = data;
 
-	seq_printf(m, "name %d size %zd\n", obj->name, obj->size);
-
 	seq_printf(m, "%6d %8zd %7d %8d\n",
 		   obj->name, obj->size,
 		   atomic_read(&obj->handle_count),
Signature · 1 line
1.7.12