Hexagon: remove keyring related call
authorRichard Kuo <rkuo@codeaurora.org>
Wed, 20 Jun 2012 21:06:26 +0000 (16:06 -0500)
committerRichard Kuo <rkuo@codeaurora.org>
Wed, 1 May 2013 00:40:24 +0000 (19:40 -0500)
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
arch/hexagon/kernel/process.c

index dc72ed5..9eb43b3 100644 (file)
@@ -234,9 +234,6 @@ int do_work_pending(struct pt_regs *regs, u32 thread_info_flags)
        if (thread_info_flags & _TIF_NOTIFY_RESUME) {
                clear_thread_flag(TIF_NOTIFY_RESUME);
                tracehook_notify_resume(regs);
-               if (current->replacement_session_keyring)
-                       key_replace_session_keyring();
-               return 1;
        }
 
        /* Should not even reach here */