diff options
author | Fernando Guzman Lugo <x0095840@ti.com> | 2010-10-05 15:35:42 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-05 15:30:58 -0700 |
commit | db348ca36e5881cd1d2e5caa6eee7d0237d07a3d (patch) | |
tree | 56e9be2fe55d66d2b178ed17ba9fd41885e9f217 /drivers/staging/tidspbridge/rmgr/drv_interface.c | |
parent | b5a44939231d6e3b0354624289507bfa1432a7b1 (diff) | |
download | op-kernel-dev-db348ca36e5881cd1d2e5caa6eee7d0237d07a3d.zip op-kernel-dev-db348ca36e5881cd1d2e5caa6eee7d0237d07a3d.tar.gz |
staging: tidspbridge - remove reserved memory clean up
Now iommv module keeps track of iommu memory used,
we do not need resource cleanup for reserved
memories anymore.
Signed-off-by: Fernando Guzman Lugo <x0095840@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/tidspbridge/rmgr/drv_interface.c')
-rw-r--r-- | drivers/staging/tidspbridge/rmgr/drv_interface.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/tidspbridge/rmgr/drv_interface.c b/drivers/staging/tidspbridge/rmgr/drv_interface.c index 5d0670c..63052b0 100644 --- a/drivers/staging/tidspbridge/rmgr/drv_interface.c +++ b/drivers/staging/tidspbridge/rmgr/drv_interface.c @@ -509,8 +509,6 @@ static int bridge_open(struct inode *ip, struct file *filp) pr_ctxt->res_state = PROC_RES_ALLOCATED; spin_lock_init(&pr_ctxt->dmm_map_lock); INIT_LIST_HEAD(&pr_ctxt->dmm_map_list); - spin_lock_init(&pr_ctxt->dmm_rsv_lock); - INIT_LIST_HEAD(&pr_ctxt->dmm_rsv_list); pr_ctxt->node_id = kzalloc(sizeof(struct idr), GFP_KERNEL); if (pr_ctxt->node_id) { |