Commit aa884c11 authored by Bernd Edlinger's avatar Bernd Edlinger Committed by Eric W. Biederman
Browse files

kernel: doc: remove outdated comment cred.c



This removes an outdated comment in prepare_kernel_cred.

There is no "cred_replace_mutex" any more, so the comment must
go away.

Signed-off-by: default avatarBernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
parent 8d09db80
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -675,8 +675,6 @@ void __init cred_init(void)
 * The caller may change these controls afterwards if desired.
 *
 * Returns the new credentials or NULL if out of memory.
 *
 * Does not take, and does not return holding current->cred_replace_mutex.
 */
struct cred *prepare_kernel_cred(struct task_struct *daemon)
{