summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2011-09-07 16:58:09 +0200
committerDave Airlie <airlied@redhat.com>2011-09-09 10:11:44 +0200
commit55a01f6f6840b6310b073afabda649727d2ddb24 (patch)
tree58d43c784a629edeba5545db134769bd02c7c072
parentMerge branch 'drm-nouveau-fixes' of git://anongit.freedesktop.org/git/nouveau... (diff)
downloadlinux-55a01f6f6840b6310b073afabda649727d2ddb24.tar.xz
linux-55a01f6f6840b6310b073afabda649727d2ddb24.zip
drm: Remove duplicate "return" statement
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>
-rw-r--r--drivers/gpu/drm/drm_fb_helper.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 802b61ac3139..f7c6854eb4dd 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);