summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>2009-06-02 12:00:45 +0400
committerJames Morris <jmorris@namei.org>2009-06-02 15:19:54 +0400
commitfe67e6f2d6df371b58ba721954d45a196df5e8b8 (patch)
treeb4b186aa4b222bdc45839ff4bdbde6f80c413395
parentfbeb4a9c20d00e2550156f9e5a34473fbde59de2 (diff)
downloadlinux-fe67e6f2d6df371b58ba721954d45a196df5e8b8.tar.xz
TOMOYO: Remove unused mutex.
I forgot to remove on TOMOYO's 15th posting. Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> Signed-off-by: James Morris <jmorris@namei.org>
-rw-r--r--security/tomoyo/domain.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/tomoyo/domain.c b/security/tomoyo/domain.c
index 2d6748741a26..ee43631f049b 100644
--- a/security/tomoyo/domain.c
+++ b/security/tomoyo/domain.c
@@ -296,7 +296,6 @@ static int tomoyo_update_domain_keeper_entry(const char *domainname,
struct tomoyo_domain_keeper_entry *ptr;
const struct tomoyo_path_info *saved_domainname;
const struct tomoyo_path_info *saved_program = NULL;
- static DEFINE_MUTEX(lock);
int error = -ENOMEM;
bool is_last_name = false;