diff options
author | Lin Ming <ming.m.lin@intel.com> | 2011-09-07 22:58:09 +0800 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-09-09 09:11:44 +0100 |
commit | 55a01f6f6840b6310b073afabda649727d2ddb24 (patch) | |
tree | 58d43c784a629edeba5545db134769bd02c7c072 /drivers | |
parent | 909d6e0cb6f947278e0479d67323d5bef6309a50 (diff) | |
download | linux-55a01f6f6840b6310b073afabda649727d2ddb24.tar.bz2 |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/drm_fb_helper.c | 1 |
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); |