Skip to content

Commit e9f8250

Browse files
hshi-chromiumdanvet
authored andcommitted
drm/msm: remove the drm_device_is_unplugged check
This flag is only used for drm/udl. Signed-off-by: Haixia Shi <[email protected]> Reviewed-by: Stéphane Marchesin <[email protected]> Reviewed-by: David Herrmann <[email protected]> Acked-by: Rob Clark <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 67fe85d commit e9f8250

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/gpu/drm/msm/msm_fbdev.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ static int msm_fbdev_mmap(struct fb_info *info, struct vm_area_struct *vma)
6565
struct drm_device *dev = helper->dev;
6666
int ret = 0;
6767

68-
if (drm_device_is_unplugged(dev))
69-
return -ENODEV;
70-
7168
ret = drm_gem_mmap_obj(drm_obj, drm_obj->size, vma);
7269
if (ret) {
7370
pr_err("%s:drm_gem_mmap_obj fail\n", __func__);

0 commit comments

Comments
 (0)