From 3aef3841d0c8099a97a56a285f0a21d9147405bd Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Thu, 30 Sep 2004 18:13:33 +0000 Subject: Make fops per driver instead of global, remove default flush, poll, read functions --- linux-core/drm_fops.c | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'linux-core/drm_fops.c') diff --git a/linux-core/drm_fops.c b/linux-core/drm_fops.c index 89f64527..0ee303df 100644 --- a/linux-core/drm_fops.c +++ b/linux-core/drm_fops.c @@ -115,18 +115,6 @@ out_free: return ret; } -/** No-op. */ -int drm_flush(struct file *filp) -{ - drm_file_t *priv = filp->private_data; - drm_device_t *dev = priv->dev; - - DRM_DEBUG("pid = %d, device = 0x%lx, open_count = %d\n", - current->pid, (long)old_encode_dev(dev->device), dev->open_count); - return 0; -} -EXPORT_SYMBOL(drm_flush); - /** No-op. */ int drm_fasync(int fd, struct file *filp, int on) { @@ -140,16 +128,3 @@ int drm_fasync(int fd, struct file *filp, int on) return 0; } EXPORT_SYMBOL(drm_fasync); - -/** No-op. */ -unsigned int drm_poll(struct file *filp, struct poll_table_struct *wait) -{ - return 0; -} - - -/** No-op. */ -ssize_t drm_read(struct file *filp, char __user *buf, size_t count, loff_t *off) -{ - return 0; -} -- cgit v1.2.3