summaryrefslogtreecommitdiff
path: root/src/mm_radio_priv_hal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm_radio_priv_hal.c')
-rwxr-xr-xsrc/mm_radio_priv_hal.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mm_radio_priv_hal.c b/src/mm_radio_priv_hal.c
index 511c74b..1e7bb92 100755
--- a/src/mm_radio_priv_hal.c
+++ b/src/mm_radio_priv_hal.c
@@ -647,7 +647,7 @@ int _mmradio_start(mm_radio_t *radio)
ret = sound_manager_start_virtual_stream(radio->vstream);
if (ret) {
MMRADIO_LOG_ERROR("failed to start sound manager virtual stream");
- goto error;
+ goto error1;
}
#endif
@@ -657,10 +657,6 @@ int _mmradio_start(mm_radio_t *radio)
return MM_ERROR_NONE;
-#ifdef TIZEN_FEATURE_SOUND_VSTREAM
-error:
- sound_manager_stop_virtual_stream(radio->vstream);
-#endif
error1:
radio_hal_close(radio->hal_inf);
error2: