drm: Remove duplicate "return" statement
Changes
1 files changed · +0 −1
| File | Status | Add | Del | Content |
|---|---|---|---|---|
| drivers/gpu/drm/drm_fb_helper.c | modified | +0 | −1 | View file |
drivers/gpu/drm/drm_fb_helper.c
View filediff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 802b61a..f7c6854 100644
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/drivers/gpu/drm/drm_fb_helper.c
@@ -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);