From ae4e931baf24e95e594bbdf29597856552e95791 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Sat, 21 May 2016 17:42:48 +0200 Subject: ipcpd: homogenous debug messages for deallocation --- src/ipcpd/shim-udp/main.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c index 362e03d5..601698e2 100644 --- a/src/ipcpd/shim-udp/main.c +++ b/src/ipcpd/shim-udp/main.c @@ -599,9 +599,6 @@ static int ipcp_udp_flow_dealloc_req(int udp_port) struct shm_ap_rbuff * rb; int port_id = -1; - LOG_DBGF("Remote notified flow deallocation on port %d.", - ntohs(udp_port)); - rw_lock_rdlock(&_ipcp->state_lock); rw_lock_wrlock(&_ap_instance->flows_lock); @@ -633,7 +630,7 @@ static int ipcp_udp_flow_dealloc_req(int udp_port) close(fd); - LOG_DBGF("Flow on UDP port %d deallocated.", ntohs(udp_port)); + LOG_DBGF("Flow with port_id %d deallocated.", port_id); return 0; } @@ -1456,8 +1453,6 @@ static int ipcp_udp_flow_dealloc(int port_id) rw_lock_rdlock(&_ipcp->state_lock); rw_lock_wrlock(&_ap_instance->flows_lock); - LOG_DBGF("Grabbed lock for deallocating flow."); - fd = port_id_to_fd(port_id); if (fd < 0) { rw_lock_unlock(&_ap_instance->flows_lock); @@ -1475,8 +1470,6 @@ static int ipcp_udp_flow_dealloc(int port_id) rw_lock_unlock(&_ap_instance->flows_lock); - LOG_DBGF("Deallocated flow with port_id %d, fd %d.", port_id, fd); - if (rb != NULL) shm_ap_rbuff_close(rb); -- cgit v1.2.3