impl-node: remove unused function

This commit is contained in:
Wim Taymans 2021-07-30 11:57:52 +02:00
parent 6acf72dc30
commit 8375d7b2d7

View file

@ -802,16 +802,6 @@ int pw_impl_node_set_driver(struct pw_impl_node *node, struct pw_impl_node *driv
return 0; return 0;
} }
static uint32_t flp2(uint32_t x)
{
x = x | (x >> 1);
x = x | (x >> 2);
x = x | (x >> 4);
x = x | (x >> 8);
x = x | (x >> 16);
return x - (x >> 1);
}
static void check_properties(struct pw_impl_node *node) static void check_properties(struct pw_impl_node *node)
{ {
struct impl *impl = SPA_CONTAINER_OF(node, struct impl, this); struct impl *impl = SPA_CONTAINER_OF(node, struct impl, this);