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:
parent
2e7c11d265
commit
6fc960a2ac
1 changed files with 0 additions and 15 deletions
|
@ -160,21 +160,6 @@ int link_get_p2p_state(struct link *l)
|
||||||
return l->p2p_state;
|
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)
|
bool link_get_managed(struct link *l)
|
||||||
{
|
{
|
||||||
return l->managed;
|
return l->managed;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue