diff --git a/lib/ftplistparser.c b/lib/ftplistparser.c
index 08a794294ac6380d367fd4927a03214ecce4f9db..77444bfd144163cdbe56c88b681a81c26a24af72 100644
--- a/lib/ftplistparser.c
+++ b/lib/ftplistparser.c
@@ -163,17 +163,6 @@ struct ftp_parselist_data {
     } NT;
   } state;
 
-  struct {
-    char *buffer;
-    size_t bufferlength; /* how many bytes is allocated at *buffer */
-    size_t bufferin; /* how many bytes is in buffer */
-  } tmpdata;
-
-  struct {
-    curl_write_callback old_fwritefunc;
-    FILE *old_file_descriptor;
-  } backup;
-
   CURLcode error;
   struct curl_fileinfo *file_data;
   unsigned int item_length;