diff --git a/emper/AsyncLibrary.cpp b/emper/AsyncLibrary.cpp
index 8ca9027d1a77b1bc1871491c6c05d42ff3501736..fc5fa161b4485c60b33a43b370bcc6b212959f43 100644
--- a/emper/AsyncLibrary.cpp
+++ b/emper/AsyncLibrary.cpp
@@ -367,7 +367,6 @@ int io::async_recv(int fd, unsigned char* buff, int buff_len, bool read_once, bo
 
 			if (actually_read != -1)
 			{
-				offset = actually_read;
 				notify.curr_offset = actually_read;
 			}
 			network_add_epoll(&notify); // Did not finish yet, add to epoll; we are first
@@ -436,7 +435,6 @@ int io::async_send(int fd, unsigned char* buff, int buff_len, bool fd_serialized
 
 			if (actually_send != -1)
 			{
-				offset = actually_send;
 				notify.curr_offset = actually_send;
 			}
 			network_add_epoll(&notify); // Did not finish yet, add to epoll; we are first