syslog: clean up needless comment
authorKees Cook <kees.cook@canonical.com>
Thu, 4 Feb 2010 22:28:06 +0000 (14:28 -0800)
committerJames Morris <jmorris@namei.org>
Fri, 5 Feb 2010 06:48:51 +0000 (17:48 +1100)
Drop my typoed comment as it is both unhelpful and redundant.

Signed-off-by: Kees Cook <kees.cook@canonical.com>
Acked-by: Serge Hallyn <serue@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
security/commoncap.c

index cf01b2eebb60629fd261b858a99a74a632c445a6..61669730da98e05c77d18c77e853fc922f3031a5 100644 (file)
@@ -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 &&