提交 55a01f6f 编写于 作者: L Lin Ming 提交者: Dave Airlie

drm: Remove duplicate "return" statement

Remove the duplicate "return" statement in drm_fb_helper_panic().
Signed-off-by: NLin Ming <ming.m.lin@intel.com>
Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 909d6e0c
...@@ -256,7 +256,6 @@ int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed, ...@@ -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"); printk(KERN_ERR "panic occurred, switching back to text console\n");
return drm_fb_helper_force_kernel_mode(); return drm_fb_helper_force_kernel_mode();
return 0;
} }
EXPORT_SYMBOL(drm_fb_helper_panic); EXPORT_SYMBOL(drm_fb_helper_panic);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册