From: Alan Cox Date: Fri, 7 Aug 2009 18:23:11 +0000 (+0100) Subject: Staging: sep: kill lock wrapper X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8407248231df774ba81d0b968bf112edb4069461;p=linux-beck.git Staging: sep: kill lock wrapper We don't need wrappers for this so clean them up Signed-off-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/sep/sep_main_mod.c b/drivers/staging/sep/sep_main_mod.c index 197768dc5c2e..372bd3aac6e7 100644 --- a/drivers/staging/sep/sep_main_mod.c +++ b/drivers/staging/sep/sep_main_mod.c @@ -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 */