main channel: Remove unused main_channel_client_get_link_id

It was introduced in 9cece23ba3
but never used.

Signed-off-by: Pavel Grunt <pgrunt@redhat.com>
Acked-by: Fabiano Fidêncio <fidencio@redhat.com>
This commit is contained in:
Pavel Grunt 2015-11-23 10:43:51 +01:00 committed by Frediano Ziglio
parent e20b44bf51
commit cfa022c656
2 changed files with 0 additions and 6 deletions

View File

@ -1079,11 +1079,6 @@ static void ping_timer_cb(void *opaque)
}
#endif /* RED_STATISTICS */
uint32_t main_channel_client_get_link_id(MainChannelClient *mcc)
{
return mcc->connection_id;
}
static MainChannelClient *main_channel_client_create(MainChannel *main_chan, RedClient *client,
RedsStream *stream, uint32_t connection_id,
int num_common_caps, uint32_t *common_caps,

View File

@ -71,7 +71,6 @@ void main_channel_client_push_notify(MainChannelClient *mcc, const char *msg);
void main_channel_push_multi_media_time(MainChannel *main_chan, int time);
int main_channel_getsockname(MainChannel *main_chan, struct sockaddr *sa, socklen_t *salen);
int main_channel_getpeername(MainChannel *main_chan, struct sockaddr *sa, socklen_t *salen);
uint32_t main_channel_client_get_link_id(MainChannelClient *mcc);
/*
* return TRUE if network test had been completed successfully.