valve: GST_BOILERPLATE already sets parent_class
authorStefan Kost <ensonic@users.sf.net>
Tue, 28 Sep 2010 11:07:39 +0000 (14:07 +0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 31 Dec 2010 00:51:11 +0000 (00:51 +0000)
plugins/elements/gstvalve.c

index 3fc1908..18b1e94 100644 (file)
@@ -122,8 +122,6 @@ gst_valve_class_init (GstValveClass * klass)
           "Drops all buffers if TRUE",
           "If this property if TRUE, the element will drop all buffers, if its FALSE, it will let them through",
           FALSE, G_PARAM_READWRITE));
-
-  parent_class = g_type_class_peek_parent (klass);
 }
 
 static void