summaryrefslogtreecommitdiffstats
path: root/src/kernel/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/net.c')
-rw-r--r--src/kernel/net.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/kernel/net.c b/src/kernel/net.c
index 53a12af..d955dc1 100644
--- a/src/kernel/net.c
+++ b/src/kernel/net.c
@@ -119,8 +119,6 @@ void dnbd3_net_disconnect(dnbd3_device_t *lo)
{
kthread_stop(lo->thread_send);
kthread_stop(lo->thread_receive);
- lo->thread_send = NULL;
- lo->thread_receive = NULL;
}
// clear sock