summaryrefslogtreecommitdiffstats
path: root/alsa-binding/Alsa-ApiHat.c
diff options
context:
space:
mode:
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,
};