validate: remove redundant pre-condition in monitor_factory_create

The same check is already done at the head of the function.

https://bugzilla.gnome.org/show_bug.cgi?id=736019
This commit is contained in:
Guillaume Desmottes 2014-09-04 11:54:41 +02:00 committed by Thibault Saunier
parent f900f53e95
commit f7955f5249

View file

@ -70,7 +70,6 @@ gst_validate_monitor_factory_create (GstObject * target,
(GST_ELEMENT_CAST (target), runner, parent));
}
g_return_val_if_fail (target != NULL, NULL);
gst_validate_override_registry_attach_overrides (monitor);
return monitor;
}