diff options
author | motu <none@none> | 2005-11-03 12:12:56 -0800 |
---|---|---|
committer | motu <none@none> | 2005-11-03 12:12:56 -0800 |
commit | 754564661a990e58301b3840826dab55b72c2963 (patch) | |
tree | 18b75c01182b773752a31350c1ec54b47140369a /usr/src/cmd/fm | |
parent | 172c0d20caae15cd97be1f210ee724069f367c75 (diff) | |
download | illumos-gate-754564661a990e58301b3840826dab55b72c2963.tar.gz |
6222529 obsolete serd properties are not reported as illegal
Diffstat (limited to 'usr/src/cmd/fm')
-rw-r--r-- | usr/src/cmd/fm/eversholt/common/check.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/usr/src/cmd/fm/eversholt/common/check.c b/usr/src/cmd/fm/eversholt/common/check.c index 341301e295..24f3e79684 100644 --- a/usr/src/cmd/fm/eversholt/common/check.c +++ b/usr/src/cmd/fm/eversholt/common/check.c @@ -49,7 +49,6 @@ static int check_num(enum nodetype t, const char *s, struct node *np); static int check_quote(enum nodetype t, const char *s, struct node *np); static int check_num_func(enum nodetype t, const char *s, struct node *np); static int check_fru_asru(enum nodetype t, const char *s, struct node *np); -static int check_name(enum nodetype t, const char *s, struct node *np); static int check_engine(enum nodetype t, const char *s, struct node *np); static int check_timeval(enum nodetype t, const char *s, struct node *np); static int check_id(enum nodetype t, const char *s, struct node *np); @@ -78,10 +77,8 @@ static struct { { T_SERD, "N", 1, check_num, O_ERR }, { T_SERD, "T", 1, check_timeval, O_ERR }, { T_SERD, "method", 1, check_serd_method, O_ERR }, - { T_SERD, "count", 0, check_reportlist, O_ERR }, { T_SERD, "trip", 1, check_reportlist, O_ERR }, { T_SERD, "FRU", 0, check_fru_asru, O_ERR }, - { T_SERD, "FRUID", 0, check_name, O_ERR }, { T_ERROR, "ASRU", 0, check_fru_asru, O_ERR }, { T_CONFIG, NULL, 0, check_quote, O_ERR }, { 0, NULL, 0 }, @@ -296,17 +293,6 @@ check_fru_asru(enum nodetype t, const char *s, struct node *np) } static int -check_name(enum nodetype t, const char *s, struct node *np) -{ - ASSERTinfo(np != NULL, ptree_nodetype2str(t)); - if (np->t != T_NAME) - outfl(O_ERR, np->file, np->line, - "%s %s property must be a single name", - ptree_nodetype2str(t), s); - return (1); -} - -static int check_engine(enum nodetype t, const char *s, struct node *np) { ASSERTinfo(np != NULL, ptree_nodetype2str(t)); |