diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2001-08-19 15:20:08 +0000 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2001-08-19 15:20:08 +0000 |
commit | f4c2f1400203434d9a5392b990aaa4fa32dce9c5 (patch) | |
tree | 85cfb2292942fb8ddd4f44dc94275433dc74df05 /linux/drm_bufs.h | |
parent | 8aaf82d45c406220d5f18168e4350827a9e038e2 (diff) |
No one's maintaining 2.2.x support - so remove all the cruft.
Diffstat (limited to 'linux/drm_bufs.h')
-rw-r--r-- | linux/drm_bufs.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/linux/drm_bufs.h b/linux/drm_bufs.h index ec5dd543..3ff3527f 100644 --- a/linux/drm_bufs.h +++ b/linux/drm_bufs.h @@ -229,11 +229,7 @@ int DRM(rmmap)(struct inode *inode, struct file *filp, DRM(free)(list, sizeof(*list), DRM_MEM_MAPS); for (pt = dev->vmalist, prev = NULL; pt; prev = pt, pt = pt->next) { -#if LINUX_VERSION_CODE >= 0x020300 if (pt->vma->vm_private_data == map) found_maps++; -#else - if (pt->vma->vm_pte == map) found_maps++; -#endif } if(!found_maps) { |