summaryrefslogtreecommitdiff
path: root/avsys-audio-path.c
diff options
context:
space:
mode:
authorSeungbae Shin <seungbae.shin@samsung.com>2013-03-23 13:47:17 (GMT)
committerSeungbae Shin <seungbae.shin@samsung.com>2013-03-23 13:55:22 (GMT)
commitc78f38123385e110129a0c135065f6fb84df67cc (patch)
tree1e074ad918539f8931cc3b31121893fb6ebd243f /avsys-audio-path.c
parent6966dc1587a291567829b00dedfe6202df894b91 (diff)
downloadavsystem-c78f38123385e110129a0c135065f6fb84df67cc.zip
avsystem-c78f38123385e110129a0c135065f6fb84df67cc.tar.gz
avsystem-c78f38123385e110129a0c135065f6fb84df67cc.tar.bz2
Remove checking root privilege for handle/path init
Change-Id: I2e449d1d6a97350f4c7c43ec90bebfa24f435369
Diffstat (limited to 'avsys-audio-path.c')
-rw-r--r--avsys-audio-path.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/avsys-audio-path.c b/avsys-audio-path.c
index 7b37ae2..4a91364 100644
--- a/avsys-audio-path.c
+++ b/avsys-audio-path.c
@@ -325,12 +325,6 @@ int avsys_audio_path_ex_init(void)
int err = AVSYS_STATE_SUCCESS;
avsys_audio_conf conf = { 0, };
- /* Check root user */
- err = avsys_check_root_privilege();
- if (AVSYS_FAIL(err)) {
- return err;
- }
-
temp = &control;
avsys_assert(AVSYS_SUCCESS(avsys_audio_create_sync(AVSYS_AUDIO_SYNC_IDEN_PATH)));
avsys_assert(AVSYS_SUCCESS(avsys_audio_create_shm(AVSYS_AUDIO_SHM_IDEN_PATH)));
@@ -425,12 +419,6 @@ int avsys_audio_path_ex_reset(int forced)
int backup_debug = 0;
avsys_audio_conf conf = { 0, };
- /* Check root user */
- err = avsys_check_root_privilege();
- if (AVSYS_FAIL(err)) {
- return err;
- }
-
temp = &control;
if (AVSYS_FAIL(avsys_audio_get_shm(AVSYS_AUDIO_SHM_IDEN_PATH, (void **)temp))) {
avsys_error_r(AVAUDIO, "avsys_audio_get_shm() failed in %s\n", __func__);