diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-04-01 18:53:24 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-04-01 18:53:24 +0000 |
commit | 6f88a5351c3f0b8e657708b64060adb833c8a919 (patch) | |
tree | e9b1b3a673b807de8135e258ae90fb25bb432f1d /bsd-core | |
parent | 8e51112fe06cc92a7e4d415c897d53008a935554 (diff) |
Whitespace and remove a dead commented line.
Diffstat (limited to 'bsd-core')
-rw-r--r-- | bsd-core/drm_vm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bsd-core/drm_vm.c b/bsd-core/drm_vm.c index 1ce0efab..5355b740 100644 --- a/bsd-core/drm_vm.c +++ b/bsd-core/drm_vm.c @@ -45,15 +45,14 @@ paddr_t DRM(mmap)(dev_t kdev, off_t offset, int prot) drm_map_list_entry_t *listentry=NULL; drm_file_t *priv; -/* DRM_DEBUG("offset = 0x%x\n", offset);*/ - priv = DRM(find_file_by_proc)(dev, DRM_CURPROC); if (!priv) { DRM_DEBUG("can't find authenticator\n"); return EINVAL; } - if (!priv->authenticated) return DRM_ERR(EACCES); + if (!priv->authenticated) + return DRM_ERR(EACCES); if (dev->dma && offset >= 0 |