/* Used by module code with the trace_event_mutex held for write.  */
int __unregister_ftrace_event(struct trace_event *event)
/* Used by module code with the trace_event_mutex held for write.  */
int __unregister_ftrace_event(struct trace_event *event)
{
	hlist_del(&event->node);
	list_del(&event->list);
	return 0;
}