Remove the duplicate "return" statement in drm_fb_helper_panic().
Unified · Split
| @@ -256,7 +256,6 @@ int drm_fb_helper_panic(struct notifier_block *n, unsigned long ununsed, · 255 unmodified lines | ||
| 256 | 256 | { |
| 257 | 257 | printk(KERN_ERR "panic occurred, switching back to text console\n"); |
| 258 | 258 | return drm_fb_helper_force_kernel_mode(); |
| 259 | − return 0; | |
| 260 | 259 | } |
| 261 | 260 | EXPORT_SYMBOL(drm_fb_helper_panic); |
| 262 | 261 | |