client-device: fix cleanup

This commit is contained in:
Wim Taymans 2019-05-28 17:23:52 +02:00
parent 4754335d31
commit b1ea91fa1d
2 changed files with 25 additions and 16 deletions

View file

@ -44,16 +44,6 @@ struct device_data {
struct spa_hook proxy_listener;
};
#define pw_device_proxy_event(o,method,version,...) \
({ \
int _res = -ENOTSUP; \
struct spa_interface *_p = o; \
spa_interface_call_res(&_p->iface, \
struct pw_core_proxy_methods, _res, \
method, version, ##__VA_ARGS__); \
_res; \
})
static void device_event_info(void *_data, const struct spa_device_info *info)
{
struct device_data *data = _data;