cookies: fp is always not NULL

Closes #10383
diff --git a/lib/cookie.c b/lib/cookie.c
index c061cd4..c457b2d 100644
--- a/lib/cookie.c
+++ b/lib/cookie.c
@@ -1299,7 +1299,7 @@
      */
     remove_expired(c);
 
-    if(fromfile && fp)
+    if(fromfile)
       fclose(fp);
   }