1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

miracle-wifid: remove unused function

Change-Id: Ic2709a3661914fd9e0708c33649118feededa7f6
This commit is contained in:
Derek Dai 2017-04-14 15:11:17 +08:00
parent 2e7c11d265
commit 6fc960a2ac

View file

@ -160,21 +160,6 @@ int link_get_p2p_state(struct link *l)
return l->p2p_state;
}
int link_set_p2p_state(struct link *l, int state)
{
if (!l)
return log_EINVAL();
if (l->p2p_state == state)
return 0;
if(-1 > state || 1 < state)
return log_EINVAL();
l->p2p_state = state;
link_dbus_properties_changed(l, "P2PState", NULL);
return 0;
}
bool link_get_managed(struct link *l)
{
return l->managed;