TOMOYO: Remove unused mutex.
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Tue, 2 Jun 2009 08:00:45 +0000 (17:00 +0900)
committerJames Morris <jmorris@namei.org>
Tue, 2 Jun 2009 11:19:54 +0000 (21:19 +1000)
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>
security/tomoyo/domain.c

index 2d67487..ee43631 100644 (file)
@@ -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;