summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/shim-udp/main.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/ipcpd/shim-udp/main.c b/src/ipcpd/shim-udp/main.c
index 4f70d053..819c8149 100644
--- a/src/ipcpd/shim-udp/main.c
+++ b/src/ipcpd/shim-udp/main.c
@@ -762,14 +762,6 @@ void ipcp_sig_handler(int sig, siginfo_t * info, void * c)
default:
return;
}
-
- LOG_DBGF("Lock check.");
- rw_lock_wrlock(&_ap_instance->flows_lock);
- rw_lock_unlock(&_ap_instance->flows_lock);
- LOG_DBGF("flows_lock passed.");
- rw_lock_wrlock(&_ipcp->state_lock);
- rw_lock_unlock(&_ipcp->state_lock);
- LOG_DBGF("state_lock passed.");
}
static int ipcp_udp_bootstrap(struct dif_config * conf)
@@ -1358,10 +1350,6 @@ static int ipcp_udp_flow_dealloc(int port_id)
{
int fd = -1;
struct shm_ap_rbuff * rb;
- struct timespec wait = {0, 1000000};
-
- /* flow deallocation should wait for 2 MPL */
- nanosleep(&wait, NULL);
LOG_DBGF("Deallocating flow with port_id %d.", port_id);