From aed8d7eaf979e14d8e04e651a00327a5e3d41716 Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Tue, 28 Jul 2015 14:31:32 +1000 Subject: errorlog: Deprecate elog callback parameter There are now no users of the call_out parameter and future users should use the log_append_msg() and log_append_data() functions, so remove all references to call_out. Signed-off-by: Samuel Mendoza-Jonas Reviewed-by: Vasant Hegde Signed-off-by: Stewart Smith --- include/errorlog.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/errorlog.h b/include/errorlog.h index eb374523..b908fd48 100644 --- a/include/errorlog.h +++ b/include/errorlog.h @@ -149,7 +149,6 @@ struct opal_err_info { uint8_t subsystem; uint8_t sev; uint8_t event_subtype; - void (*call_out)(struct errorlog *buf, void *data, uint16_t size); }; /* Component IDs */ @@ -326,10 +325,9 @@ enum opal_reasoncode { }; #define DEFINE_LOG_ENTRY(reason, type, id, subsys, \ -severity, subtype, callout_func) static struct opal_err_info err_##reason = \ +severity, subtype) static struct opal_err_info err_##reason = \ { .reason_code = reason, .err_type = type, .cmp_id = id, \ -.subsystem = subsys, .sev = severity, .event_subtype = subtype, \ -.call_out = callout_func } +.subsystem = subsys, .sev = severity, .event_subtype = subtype } /* This is wrapper around the error log function, which creates * and commits the error to FSP. -- cgit v1.2.1