parser: cleanup capability_table generation by dropping cap sys_log

The static cap sys_log declaration is no longer needed as
base_cap_names.h contains it and ensures that it will always be
present.

Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
John Johansen 2020-06-23 04:11:25 -07:00
parent 270fb0a2b2
commit fdba3a571c

View file

@ -176,9 +176,7 @@ static int get_table_token(const char *name unused, struct keyword_table *table,
static struct keyword_table capability_table[] = {
/* capabilities */
#include "cap_names.h"
#ifndef CAP_SYSLOG
{"syslog", 34},
#endif
/* terminate */
{NULL, 0}
};