Merge remote-tracking branch 'airlied/drm-next' into topic/drm-misc
[cascardo/linux.git] / drivers / gpu / drm / vc4 / vc4_drv.c
index 25ed008..8b42d31 100644 (file)
@@ -91,8 +91,7 @@ static void vc4_lastclose(struct drm_device *dev)
 {
        struct vc4_dev *vc4 = to_vc4_dev(dev);
 
-       if (vc4->fbdev)
-               drm_fbdev_cma_restore_mode(vc4->fbdev);
+       drm_fbdev_cma_restore_mode(vc4->fbdev);
 }
 
 static const struct file_operations vc4_drm_fops = {