Skip to content

Commit

Permalink
Staging: sep: kill lock wrapper
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Sep 15, 2009
1 parent 2f82614 commit 8407248
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions drivers/staging/sep/sep_main_mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 8407248

Please sign in to comment.