Staging: sep: kill lock wrapper
authorAlan Cox <alan@linux.intel.com>
Fri, 7 Aug 2009 18:23:11 +0000 (19:23 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:02:13 +0000 (12:02 -0700)
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>
drivers/staging/sep/sep_main_mod.c

index 197768dc5c2e485f3e0afe65801b36d4678e9c7b..372bd3aac6e7f0d752b04713034240745278573c 100644 (file)
@@ -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
 */