From 6cb35bf23e18ca638aa701cd188e9a613609652c Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 1 Mar 2018 20:07:05 +0100 Subject: [PATCH] link: remove unused field --- src/pipewire/link.c | 3 --- src/pipewire/private.h | 2 -- 2 files changed, 5 deletions(-) diff --git a/src/pipewire/link.c b/src/pipewire/link.c index 7079cc8d0..5862ef8a3 100644 --- a/src/pipewire/link.c +++ b/src/pipewire/link.c @@ -707,7 +707,6 @@ static int do_allocation(struct pw_link *this, uint32_t in_state, uint32_t out_s goto error; } - return 0; error: @@ -1310,8 +1309,6 @@ void pw_link_destroy(struct pw_link *link) if (link->info.format) free(link->info.format); - free_allocation(&link->allocation); - free(impl); } diff --git a/src/pipewire/private.h b/src/pipewire/private.h index 47510fdd5..e221e0157 100644 --- a/src/pipewire/private.h +++ b/src/pipewire/private.h @@ -236,8 +236,6 @@ struct pw_link { struct spa_hook_list listener_list; - struct allocation allocation; - struct { struct spa_graph_port out_port; struct spa_graph_port in_port;