a2dpsink: Drop some dead-code

Left over from the last cleanup.

CID: 1373418
This commit is contained in:
Arun Raghavan 2016-09-29 21:45:50 +05:30
parent ce59031b10
commit a07bc92319

View file

@ -222,7 +222,7 @@ gst_a2dp_sink_remove_dynamic_elements (GstA2dpSink * self)
static GstStateChangeReturn
gst_a2dp_sink_change_state (GstElement * element, GstStateChange transition)
{
GstStateChangeReturn ret = GST_STATE_CHANGE_SUCCESS;
GstStateChangeReturn ret;
GstA2dpSink *self = GST_A2DP_SINK (element);
switch (transition) {
@ -246,9 +246,6 @@ gst_a2dp_sink_change_state (GstElement * element, GstStateChange transition)
break;
}
if (ret == GST_STATE_CHANGE_FAILURE)
return ret;
ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition);
switch (transition) {