Commit 55a01f6f authored by Lin Ming's avatar Lin Ming Committed by Dave Airlie
Browse files

drm: Remove duplicate "return" statement



Remove the duplicate "return" statement in drm_fb_helper_panic().
Signed-off-by: default avatarLin Ming <ming.m.lin@intel.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 909d6e0c
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment