summaryrefslogtreecommitdiffstats
path: root/audio/ctl_bluetooth.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ctl_bluetooth.c')
-rw-r--r--audio/ctl_bluetooth.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/audio/ctl_bluetooth.c b/audio/ctl_bluetooth.c
index 04185b36..f7239f67 100644
--- a/audio/ctl_bluetooth.c
+++ b/audio/ctl_bluetooth.c
@@ -317,7 +317,6 @@ SND_CTL_PLUGIN_DEFINE_FUNC(bluetooth)
DBG("Bluetooth Control plugin");
data = malloc(sizeof(struct bluetooth_data));
- memset(data, 0, sizeof(struct bluetooth_data));
if (!data) {
err = -ENOMEM;
goto error;
@@ -327,8 +326,6 @@ SND_CTL_PLUGIN_DEFINE_FUNC(bluetooth)
if (err < 0)
goto error;
- memset(data, 0, sizeof(*data));
-
data->ext.version = SND_CTL_EXT_VERSION;
data->ext.card_idx = -1;