Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 18233
b: refs/heads/master
c: 8f5f39f
h: refs/heads/master
i:
  18231: d20bdee
v: v3
  • Loading branch information
Dave Airlie authored and Dave Airlie committed Nov 11, 2005
1 parent 1344005 commit f003443
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7052cff984ba575926bb7d2ae5454cce531a97e1
refs/heads/master: 8f5f39f77f5a6053ae287d4673028e7a69335f5e
1 change: 0 additions & 1 deletion trunk/drivers/char/drm/drmP.h
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,6 @@ extern int drm_lastclose(drm_device_t *dev);
/* Device support (drm_fops.h) */
extern int drm_open(struct inode *inode, struct file *filp);
extern int drm_stub_open(struct inode *inode, struct file *filp);
extern int drm_flush(struct file *filp);
extern int drm_fasync(int fd, struct file *filp, int on);
extern int drm_release(struct inode *inode, struct file *filp);

Expand Down
14 changes: 0 additions & 14 deletions trunk/drivers/char/drm/drm_fops.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,20 +423,6 @@ static int drm_open_helper(struct inode *inode, struct file *filp,
return ret;
}

/** No-op. */
int drm_flush(struct file *filp)
{
drm_file_t *priv = filp->private_data;
drm_device_t *dev = priv->head->dev;

DRM_DEBUG("pid = %d, device = 0x%lx, open_count = %d\n",
current->pid, (long)old_encode_dev(priv->head->device),
dev->open_count);
return 0;
}

EXPORT_SYMBOL(drm_flush);

/** No-op. */
int drm_fasync(int fd, struct file *filp, int on)
{
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/char/drm/i810_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ static int i810_mmap_buffers(struct file *filp, struct vm_area_struct *vma)

static struct file_operations i810_buffer_fops = {
.open = drm_open,
.flush = drm_flush,
.release = drm_release,
.ioctl = drm_ioctl,
.mmap = i810_mmap_buffers,
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/char/drm/i830_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ static int i830_mmap_buffers(struct file *filp, struct vm_area_struct *vma)

static struct file_operations i830_buffer_fops = {
.open = drm_open,
.flush = drm_flush,
.release = drm_release,
.ioctl = drm_ioctl,
.mmap = i830_mmap_buffers,
Expand Down

0 comments on commit f003443

Please sign in to comment.