summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorGeorge Sapountzis <gsap7@yahoo.gr>2007-04-26 14:16:28 +0300
committerGeorge Sapountzis <gsap7@yahoo.gr>2007-04-26 14:16:28 +0300
commit3a2c9f46212328a44533a45523d2a9f9b72a15da (patch)
treee8c763cbb26e5610986203979eca175ed588c691 /linux-core
parent942d9be296df38aa69987845a08d3d607b85f83e (diff)
linux: minor indent.
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_vm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux-core/drm_vm.c b/linux-core/drm_vm.c
index d39dfc77..b8871539 100644
--- a/linux-core/drm_vm.c
+++ b/linux-core/drm_vm.c
@@ -516,8 +516,7 @@ static int drm_mmap_dma(struct file *filp, struct vm_area_struct *vma)
return -EINVAL;
}
- if (!capable(CAP_SYS_ADMIN) &&
- (dma->flags & _DRM_DMA_USE_PCI_RO)) {
+ if (!capable(CAP_SYS_ADMIN) && (dma->flags & _DRM_DMA_USE_PCI_RO)) {
vma->vm_flags &= ~(VM_WRITE | VM_MAYWRITE);
#if defined(__i386__) || defined(__x86_64__)
pgprot_val(vma->vm_page_prot) &= ~_PAGE_RW;