Staging: sep: kill lock wrapper

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, September 16, 2009 - 9:11 am

Gitweb:     http://git.kernel.org/linus/8407248231df774ba81d0b968bf112edb4069461
Commit:     8407248231df774ba81d0b968bf112edb4069461
Parent:     2f82614ca597ef0aa4ddc26de5f9a176f1a91ee6
Author:     Alan Cox <alan@linux.intel.com>
AuthorDate: Fri Aug 7 19:23:11 2009 +0100
Committer:  Greg Kroah-Hartman <gregkh@suse.de>
CommitDate: Tue Sep 15 12:02:13 2009 -0700

    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>
---
 drivers/staging/sep/sep_main_mod.c |   18 ------------------
 1 files changed, 0 insertions(+), 18 deletions(-)

diff --git a/drivers/staging/sep/sep_main_mod.c b/drivers/staging/sep/sep_main_mod.c
index 197768d..372bd3a 100644
--- a/drivers/staging/sep/sep_main_mod.c
+++ b/drivers/staging/sep/sep_main_mod.c
@@ -288,24 +288,6 @@ static int sep_lock_user_pages(unsigned long app_virt_addr, unsigned long data_s
 -----------------------------------------------*/
 
 /*
-  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
 */
 void sep_map_shared_area(unsigned long *mappedAddr_ptr)
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Staging: sep: kill lock wrapper, Linux Kernel Mailing ..., (Wed Sep 16, 9:11 am)