summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Ming <ming.m.lin@intel.com>2011-09-07 22:58:09 +0800
committerDave Airlie <airlied@redhat.com>2011-09-09 09:11:44 +0100
commit55a01f6f6840b6310b073afabda649727d2ddb24 (patch)
tree58d43c784a629edeba5545db134769bd02c7c072
parent909d6e0cb6f947278e0479d67323d5bef6309a50 (diff)
downloadlinux-stable-55a01f6f6840b6310b073afabda649727d2ddb24.tar.gz
linux-stable-55a01f6f6840b6310b073afabda649727d2ddb24.tar.bz2
linux-stable-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);