From: Richard Kuo Date: Wed, 20 Jun 2012 21:06:26 +0000 (-0500) Subject: Hexagon: remove keyring related call X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0357d2f2a8cde3069d800eb63c1ee41fed31e1b1;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git Hexagon: remove keyring related call Signed-off-by: Richard Kuo --- diff --git a/arch/hexagon/kernel/process.c b/arch/hexagon/kernel/process.c index dc72ed5b9ed..9eb43b3ae80 100644 --- a/arch/hexagon/kernel/process.c +++ b/arch/hexagon/kernel/process.c @@ -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 */