Skip to content

Commit

Permalink
drm: Remove duplicate "return" statement
Browse files Browse the repository at this point in the history
Remove the duplicate "return" statement in drm_fb_helper_panic().

Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Lin Ming authored and Dave Airlie committed Sep 9, 2011
1 parent 909d6e0 commit 55a01f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/drm_fb_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 55a01f6

Please sign in to comment.