[PATCH 1/2] drm/radeon: "unregistered panic notifier" printk is redundant

Kirill Smelkov kirr at landau.phys.spbu.ru
Fri May 14 08:45:15 PDT 2010


Because drm_fb_helper_free() prints the same.

This redundant printk seems to be a forgotten leftover after 785b93ef
(drm/kms: move driver specific fb common code to helper functions (v2))
-- let's remove it.

Cc: Jerome Glisse <jglisse at redhat.com>
Signed-off-by: Kirill Smelkov <kirr at landau.phys.spbu.ru>
---
 drivers/gpu/drm/radeon/radeon_fb.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/radeon/radeon_fb.c b/drivers/gpu/drm/radeon/radeon_fb.c
index 9ac57a0..2a161d8 100644
--- a/drivers/gpu/drm/radeon/radeon_fb.c
+++ b/drivers/gpu/drm/radeon/radeon_fb.c
@@ -365,8 +365,6 @@ int radeonfb_remove(struct drm_device *dev, struct drm_framebuffer *fb)
 		framebuffer_release(info);
 	}
 
-	printk(KERN_INFO "unregistered panic notifier\n");
-
 	return 0;
 }
 EXPORT_SYMBOL(radeonfb_remove);
-- 
1.7.1.87.gcc8c60.dirty


More information about the dri-devel mailing list