summaryrefslogtreecommitdiff
path: root/src/service_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/service_common.c')
-rw-r--r--src/service_common.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/service_common.c b/src/service_common.c
index d6d4007..2b57e56 100644
--- a/src/service_common.c
+++ b/src/service_common.c
@@ -813,14 +813,11 @@ HAPI struct service_context *tcb_svc_ctx(struct tcb *tcb)
*/
HAPI int service_common_unicast_packet(struct tcb *tcb, struct packet *packet)
{
- struct service_context *svc_ctx;
if (!tcb || !packet) {
DbgPrint("Invalid unicast: tcb[%p], packet[%p]\n", tcb, packet);
return -EINVAL;
}
- svc_ctx = tcb->svc_ctx;
-
DbgPrint("Unicast packet\n");
return secure_socket_send(tcb->fd, (void *)packet_data(packet), packet_size(packet));
}