Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Ben Gamari <bgamari@gmail.com>
Cc: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>

authored by

Marcin Slusarz and committed by
Dave Airlie
08bce0ac 02813245

-2
-2
drivers/gpu/drm/drm_info.c
··· 205 205 struct drm_gem_object *obj = ptr; 206 206 struct seq_file *m = data; 207 207 208 - seq_printf(m, "name %d size %zd\n", obj->name, obj->size); 209 - 210 208 seq_printf(m, "%6d %8zd %7d %8d\n", 211 209 obj->name, obj->size, 212 210 atomic_read(&obj->handle_count),