summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2015-11-23 10:43:51 +0100
committerFrediano Ziglio <fziglio@redhat.com>2015-11-23 11:52:04 +0000
commitcfa022c656c35fe56643ce51b3b54e649cfe2159 (patch)
tree414a87940cc23876229e9d96452e37e2f3e7cc73 /server
parente20b44bf519a8b99b7d7f8fd300bae9c27069b72 (diff)
downloadspice-cfa022c656c35fe56643ce51b3b54e649cfe2159.tar.gz
spice-cfa022c656c35fe56643ce51b3b54e649cfe2159.tar.xz
spice-cfa022c656c35fe56643ce51b3b54e649cfe2159.zip
main channel: Remove unused main_channel_client_get_link_id
It was introduced in 9cece23ba3e49e6eec9e380daa95d6ee0133c91c but never used. Signed-off-by: Pavel Grunt <pgrunt@redhat.com> Acked-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Diffstat (limited to 'server')
-rw-r--r--server/main_channel.c5
-rw-r--r--server/main_channel.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/server/main_channel.c b/server/main_channel.c
index 472ddd6b..1af6baac 100644
--- a/server/main_channel.c
+++ b/server/main_channel.c
@@ -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,
diff --git a/server/main_channel.h b/server/main_channel.h
index e7027bcc..9bd20f11 100644
--- a/server/main_channel.h
+++ b/server/main_channel.h
@@ -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.