]> tinc-vpn.org Git - tinc/blobdiff - src/mingw/device.c
Remove unused device stats variables.
[tinc] / src / mingw / device.c
index 5e449d50c10d1d4355fd764ed1e9de5e5ca7a192..b6dffbc988bda018e7d9adffc1b0ca96f42d2033 100644 (file)
@@ -43,9 +43,6 @@ char *device = NULL;
 char *iface = NULL;
 static char *device_info = NULL;
 
-static uint64_t device_total_in = 0;
-static uint64_t device_total_out = 0;
-
 extern char *myport;
 
 static void device_issue_read() {
@@ -234,8 +231,6 @@ static bool write_packet(vpn_packet_t *packet) {
                return false;
        }
 
-       device_total_out += packet->len;
-
        return true;
 }