diff options
author | Eric Anholt <anholt@freebsd.org> | 2005-02-07 01:14:42 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2005-02-07 01:14:42 +0000 |
commit | 2239c55a304416dbf83e7fd545df5c3dde3ff058 (patch) | |
tree | 99dee93215a5c77d6e8d6e252cabcd3fd819e321 /bsd-core | |
parent | 080a547d4d42d42e08a525aca9a62b5ece7616d5 (diff) |
Remove some annoying trailing whitespace.
Diffstat (limited to 'bsd-core')
-rw-r--r-- | bsd-core/drm_vm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bsd-core/drm_vm.c b/bsd-core/drm_vm.c index 2b5f0ef4..34458576 100644 --- a/bsd-core/drm_vm.c +++ b/bsd-core/drm_vm.c @@ -26,7 +26,7 @@ #include "drm.h" #if defined(__FreeBSD__) && __FreeBSD_version >= 500102 -int drm_mmap(struct cdev *kdev, vm_offset_t offset, vm_paddr_t *paddr, +int drm_mmap(struct cdev *kdev, vm_offset_t offset, vm_paddr_t *paddr, int prot) #elif defined(__FreeBSD__) int drm_mmap(dev_t kdev, vm_offset_t offset, int prot) @@ -64,7 +64,7 @@ paddr_t drm_mmap(dev_t kdev, off_t offset, int prot) return 0; #else return atop(phys); -#endif +#endif } else { DRM_SPINUNLOCK(&dev->dma_lock); return -1; @@ -84,7 +84,7 @@ paddr_t drm_mmap(dev_t kdev, off_t offset, int prot) if (offset >= map->offset && offset < map->offset + map->size) break; } - + if (map == NULL) { DRM_UNLOCK(); DRM_DEBUG("can't find map\n"); @@ -120,7 +120,7 @@ paddr_t drm_mmap(dev_t kdev, off_t offset, int prot) return -1; /* This should never happen. */ } DRM_DEBUG("bailing out\n"); - + return -1; } |