summaryrefslogtreecommitdiffstats
path: root/alsa-binding/Alsa-ApiHat.c
diff options
context:
space:
mode:
authorFulup Ar Foll <fulup@iot.bzh>2017-11-01 21:16:57 +0100
committerFulup Ar Foll <fulup@iot.bzh>2017-11-01 21:16:57 +0100
commit5091e2598048d81e3913fbb66916b51df29c9b31 (patch)
tree3f4629ad7637b5e0a46787ffcbb03ba7c8395592 /alsa-binding/Alsa-ApiHat.c
parentfb2566c629de780c8ddc88058c864ea08436d1de (diff)
Remove PS_SET, now should use afb-daemon --name option
Diffstat (limited to 'alsa-binding/Alsa-ApiHat.c')
-rw-r--r--alsa-binding/Alsa-ApiHat.c8
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,
};