Commit 84072482 authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman
Browse files

Staging: sep: kill lock wrapper



We don't need wrappers for this so clean them up

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2f82614c
Loading
Loading
Loading
Loading
+0 −18
Original line number Diff line number Diff line
@@ -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
*/