aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/drm/drm_fops.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer.(none)>2005-11-11 03:40:52 -0500
committerDave Airlie <airlied@linux.ie>2005-11-11 03:40:52 -0500
commit8f5f39f77f5a6053ae287d4673028e7a69335f5e (patch)
tree4090314e38601f9e40f69256b356334c6430e2d2 /drivers/char/drm/drm_fops.c
parent7052cff984ba575926bb7d2ae5454cce531a97e1 (diff)
drm: remove drm_flush
drm_flush is no longer needed remove. Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm/drm_fops.c')
-rw-r--r--drivers/char/drm/drm_fops.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/char/drm/drm_fops.c b/drivers/char/drm/drm_fops.c
index 28f01305377f..b73543c694a9 100644
--- a/drivers/char/drm/drm_fops.c
+++ b/drivers/char/drm/drm_fops.c
@@ -424,20 +424,6 @@ static int drm_open_helper(struct inode *inode, struct file *filp,
424} 424}
425 425
426/** No-op. */ 426/** No-op. */
427int drm_flush(struct file *filp)
428{
429 drm_file_t *priv = filp->private_data;
430 drm_device_t *dev = priv->head->dev;
431
432 DRM_DEBUG("pid = %d, device = 0x%lx, open_count = %d\n",
433 current->pid, (long)old_encode_dev(priv->head->device),
434 dev->open_count);
435 return 0;
436}
437
438EXPORT_SYMBOL(drm_flush);
439
440/** No-op. */
441int drm_fasync(int fd, struct file *filp, int on) 427int drm_fasync(int fd, struct file *filp, int on)
442{ 428{
443 drm_file_t *priv = filp->private_data; 429 drm_file_t *priv = filp->private_data;