From 987cbd55cec07572cfdb7c944a6a17f5aa73521e Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 7 Aug 2009 19:23:11 +0100 Subject: [PATCH] --- yaml --- r: 162367 b: refs/heads/master c: 8407248231df774ba81d0b968bf112edb4069461 h: refs/heads/master i: 162365: 9acd39608e6cc38ddf34d3972975e3795eb3aca1 162363: ef7bf4e677531711ada6c8974b74a88896fb44c2 162359: 33c2f2f4ecb7db4d0d09f577a495946808db58e8 162351: f46f40c1e473ca1ec9e78d3f2bf00d07b0bedb77 162335: c7c521a303e69dd268cc7024f21e2dfa7f953979 162303: dca10f0a446429aeaa5184ceff4af7a37c207b6e v: v3 --- [refs] | 2 +- trunk/drivers/staging/sep/sep_main_mod.c | 18 ------------------ 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/[refs] b/[refs] index 9d8c731f0945..d1a2abaf5991 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2f82614ca597ef0aa4ddc26de5f9a176f1a91ee6 +refs/heads/master: 8407248231df774ba81d0b968bf112edb4069461 diff --git a/trunk/drivers/staging/sep/sep_main_mod.c b/trunk/drivers/staging/sep/sep_main_mod.c index 197768dc5c2e..372bd3aac6e7 100644 --- a/trunk/drivers/staging/sep/sep_main_mod.c +++ b/trunk/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 */