Skip to contentSkip to conversation

drm: Remove duplicate "return" statement

PATCH New Lin Ming 1 participant 1 message Sep 7, 2011

Subsystems (2)
lore
Share & tools
lore

Lin Ming

author
#0 lore raw

PATCH 1/1 drm: Remove duplicate "return" statement

Remove the duplicate "return" statement in drm_fb_helper_panic().

---
 drivers/gpu/drm/drm_fb_helper.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/gpu/drm/drm_fb_helper.c +0 -1
index 802b61a..f7c6854 100644
@@ -256,7 +256,6 @@ int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed,
 {
 	printk(KERN_ERR "panic occurred, switching back to text console\n");
 	return drm_fb_helper_force_kernel_mode();
-	return 0;
 }
 EXPORT_SYMBOL(drm_fb_helper_panic);
 
Signature · 1 line
1.7.2.5