summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/core/fb_chrdev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/fbdev/core/fb_chrdev.c')
-rw-r--r--drivers/video/fbdev/core/fb_chrdev.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/video/fbdev/core/fb_chrdev.c b/drivers/video/fbdev/core/fb_chrdev.c
index 32a7315b4b6d..b73a122950a9 100644
--- a/drivers/video/fbdev/core/fb_chrdev.c
+++ b/drivers/video/fbdev/core/fb_chrdev.c
@@ -325,11 +325,6 @@ static int fb_mmap(struct file *file, struct vm_area_struct *vma)
if (info->fbops->fb_mmap) {
int res;
- /*
- * The framebuffer needs to be accessed decrypted, be sure
- * SME protection is removed ahead of the call
- */
- vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot);
res = info->fbops->fb_mmap(info, vma);
mutex_unlock(&info->mm_lock);
return res;