bluez: Remove unnecessary memset.
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>
Wed, 18 Mar 2009 18:58:53 +0000 (15:58 -0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 9 Jan 2013 14:30:11 +0000 (14:30 +0000)
sys/bluez/gstavdtpsink.c

index 702f4ae..c6bb260 100644 (file)
@@ -886,7 +886,6 @@ gst_avdtp_sink_start (GstBaseSink * basesink)
       G_IO_NVAL, server_callback, self);
 
   self->data = g_new0 (struct bluetooth_data, 1);
-  memset (self->data, 0, sizeof (struct bluetooth_data));
 
   self->stream = NULL;
   self->stream_caps = NULL;