Remove redundant call to bluetooth_init().
This is a cleanup to Ian Kent's preceeding patchset.
Change-Id: I8ff00530fdd337873ff898b7fd9009b0fc13f0b4
diff --git a/audio/liba2dp.c b/audio/liba2dp.c
index 4f2dda0..d8f5bc8 100755
--- a/audio/liba2dp.c
+++ b/audio/liba2dp.c
@@ -1001,11 +1001,6 @@
}
switch (command) {
- case A2DP_CMD_INIT:
- if (data->state != A2DP_STATE_NONE)
- break;
- bluetooth_init(data);
- break;
case A2DP_CMD_CONFIGURE:
if (data->state != A2DP_STATE_INITIALIZED)
break;
@@ -1030,6 +1025,8 @@
a2dp_free(data);
goto done;
+ case A2DP_CMD_INIT:
+ /* already called bluetooth_init() */
default:
break;
}