diff options
author | Alan Cox <alan@linux.intel.com> | 2009-08-07 18:23:11 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:02:13 (GMT) |
commit | 8407248231df774ba81d0b968bf112edb4069461 (patch) | |
tree | 2894d65516062d1c425c6627ed106dd9e3b4fe0a /drivers/staging/sep | |
parent | 2f82614ca597ef0aa4ddc26de5f9a176f1a91ee6 (diff) | |
download | linux-fsl-qoriq-8407248231df774ba81d0b968bf112edb4069461.tar.xz |
Staging: sep: kill lock wrapper
We don't need wrappers for this so clean them up
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/sep')
-rw-r--r-- | drivers/staging/sep/sep_main_mod.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/staging/sep/sep_main_mod.c b/drivers/staging/sep/sep_main_mod.c index 197768d..372bd3a 100644 --- a/drivers/staging/sep/sep_main_mod.c +++ b/drivers/staging/sep/sep_main_mod.c @@ -288,24 +288,6 @@ static int sep_lock_user_pages(unsigned long app_virt_addr, unsigned long data_s -----------------------------------------------*/ /* - this function locks SEP by locking the semaphore -*/ -int sep_lock() -{ - mutex_lock(&sep_mutex); - return 0; -} - -/* - this function unlocks SEP -*/ -void sep_unlock() -{ - /* release mutex */ - mutex_unlock(&sep_mutex); -} - -/* this function returns the address of the message shared area */ void sep_map_shared_area(unsigned long *mappedAddr_ptr) |