drm: Remove duplicate "return" statement
authorLin Ming <ming.m.lin@intel.com>
Wed, 7 Sep 2011 14:58:09 +0000 (22:58 +0800)
committerDave Airlie <airlied@redhat.com>
Fri, 9 Sep 2011 08:11:44 +0000 (09:11 +0100)
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>
drivers/gpu/drm/drm_fb_helper.c

index 802b61a..f7c6854 100644 (file)
@@ -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);