mirror of
https://github.com/torvalds/linux.git
synced 2024-12-21 10:31:54 +00:00
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>
This commit is contained in:
parent
2f82614ca5
commit
8407248231
@ -287,24 +287,6 @@ static int sep_lock_user_pages(unsigned long app_virt_addr, unsigned long data_s
|
||||
FUNCTIONS
|
||||
-----------------------------------------------*/
|
||||
|
||||
/*
|
||||
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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user