removed unneeded code fragment

This commit is contained in:
madblobfish 2018-11-04 17:38:13 +01:00
parent d19648a304
commit 417a10f477

View file

@ -55,9 +55,6 @@ void seat_destroy(struct sway_seat *seat) {
free(seat); free(seat);
} }
static struct sway_seat_node *seat_node_from_node(
struct sway_seat *seat, struct sway_node *node);
static void seat_node_destroy(struct sway_seat_node *seat_node) { static void seat_node_destroy(struct sway_seat_node *seat_node) {
wl_list_remove(&seat_node->destroy.link); wl_list_remove(&seat_node->destroy.link);
wl_list_remove(&seat_node->link); wl_list_remove(&seat_node->link);