diff --git a/lib/cookies/cache.h b/lib/cookies/cache.h
index bbe26ed47a71b1077b1fd7a800a28213866eb470..9d58f02d91d298397a577007a3eb88457d71a8c6 100644
--- a/lib/cookies/cache.h
+++ b/lib/cookies/cache.h
@@ -100,7 +100,7 @@ int kr_cookie_cache_insert_cookie(struct kr_cache *cache, const struct sockaddr
 
 /**
  * Remove asset from cache.
- * @param txn transaction instance
+ * @param cache cache structure
  * @param sa socket address
  * @return 0 or an error code
  */
diff --git a/lib/cookies/helper.h b/lib/cookies/helper.h
index ec4d9fc310140cc8c5927673e4fef9b4cd4adb80..2638535ebb38a188085f88286aaf262b80835904 100644
--- a/lib/cookies/helper.h
+++ b/lib/cookies/helper.h
@@ -67,8 +67,7 @@ int kr_pkt_set_ext_rcode(knot_pkt_t *pkt, uint16_t whole_rcode);
 
 /**
  * @brief Check whether packet is a server cookie request.
- * @param pkt     Packet to be examined.
- * @param cookies Received cookies.
+ * @param pkt Packet to be examined.
  * @return Pointer to entire cookie option if is a cookie query, NULL else.
  */
 KR_EXPORT