diff options
author | Shaun Ruffell <sruffell@digium.com> | 2010-09-01 15:46:25 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2010-09-01 15:46:25 +0000 |
commit | ed5164531774d9d60040057ef0330def81697443 (patch) | |
tree | 8637f23633de6bfde0831712f8dfdace8862e449 /drivers/dahdi/dahdi_transcode.c | |
parent | 16c16be1d861d60496629cade6ad214440c29ee6 (diff) |
dahdi, dahdi_transcode: Remove mmap interface.
There are not any existing users of the interface (and it would always
return -ENOSYS to the caller anyway).
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9246 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/dahdi_transcode.c')
-rw-r--r-- | drivers/dahdi/dahdi_transcode.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/dahdi/dahdi_transcode.c b/drivers/dahdi/dahdi_transcode.c index f5e749b..e6f607a 100644 --- a/drivers/dahdi/dahdi_transcode.c +++ b/drivers/dahdi/dahdi_transcode.c @@ -403,12 +403,6 @@ static int dahdi_tc_ioctl(struct inode *inode, struct file *file, unsigned int c } #endif -static int dahdi_tc_mmap(struct file *file, struct vm_area_struct *vma) -{ - printk(KERN_ERR "%s: mmap interface deprecated.\n", THIS_MODULE->name); - return -ENOSYS; -} - static unsigned int dahdi_tc_poll(struct file *file, struct poll_table_struct *wait_table) { int ret; @@ -440,7 +434,6 @@ static struct file_operations __dahdi_transcode_fops = { .read = dahdi_tc_read, .write = dahdi_tc_write, .poll = dahdi_tc_poll, - .mmap = dahdi_tc_mmap, }; static struct dahdi_chardev transcode_chardev = { |