projects/linux·commit 55a01f6f

drm: Remove duplicate "return" statement

55a01f6f · Lin Ming <[email protected]> · 2011-09-07 22:58:09 +08:00

Remove the duplicate "return" statement in drm_fb_helper_panic().

Signed-off-by: Lin Ming <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Commit
55a01f6f6840b6310b073afabda649727d2ddb24
Parents
909d6e0c

Changes

1 files changed · +0 −1

FileStatusAddDelContent
drivers/gpu/drm/drm_fb_helper.cmodified+0−1View file

drivers/gpu/drm/drm_fb_helper.c

View file
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 802b61a..f7c6854 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);