From: Kees Cook Date: Thu, 4 Feb 2010 22:28:06 +0000 (-0800) Subject: syslog: clean up needless comment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f40a70861ace69001524644473cc389543b06c3c;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git syslog: clean up needless comment Drop my typoed comment as it is both unhelpful and redundant. Signed-off-by: Kees Cook Acked-by: Serge Hallyn Signed-off-by: James Morris --- diff --git a/security/commoncap.c b/security/commoncap.c index cf01b2eebb60..61669730da98 100644 --- a/security/commoncap.c +++ b/security/commoncap.c @@ -896,7 +896,6 @@ error: */ int cap_syslog(int type, bool from_file) { - /* /proc/kmsg can open be opened by CAP_SYS_ADMIN */ if (type != SYSLOG_ACTION_OPEN && from_file) return 0; if ((type != SYSLOG_ACTION_READ_ALL &&