diff options
author | Fulup Ar Foll <fulup@iot.bzh> | 2017-11-01 21:16:57 +0100 |
---|---|---|
committer | Fulup Ar Foll <fulup@iot.bzh> | 2017-11-01 21:16:57 +0100 |
commit | 5091e2598048d81e3913fbb66916b51df29c9b31 (patch) | |
tree | 3f4629ad7637b5e0a46787ffcbb03ba7c8395592 /alsa-binding | |
parent | fb2566c629de780c8ddc88058c864ea08436d1de (diff) |
Remove PS_SET, now should use afb-daemon --name option
Diffstat (limited to 'alsa-binding')
-rw-r--r-- | alsa-binding/Alsa-ApiHat.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/alsa-binding/Alsa-ApiHat.c b/alsa-binding/Alsa-ApiHat.c index 6f27c84..14ab903 100644 --- a/alsa-binding/Alsa-ApiHat.c +++ b/alsa-binding/Alsa-ApiHat.c @@ -35,13 +35,6 @@ STATIC void pingtest(struct afb_req request) { afb_req_success(request, query, NULL); } -STATIC int AlsaInit(void) { - int rc= prctl(PR_SET_NAME, "afb-aaaa-agent",NULL,NULL,NULL); - if (rc) AFB_ERROR("ERROR: AlsaCore fail to rename process"); - - return rc; -} - /* * array of the verbs exported to afb-daemon */ @@ -70,5 +63,4 @@ static const struct afb_verb_v2 api_verbs[] = { const afb_binding_v2 afbBindingV2 = { .api = "alsacore", .verbs = api_verbs, - .preinit = AlsaInit, }; |