From b6069eb5f5f724fdac3c3cb31f239bc24ebe1f2d Mon Sep 17 00:00:00 2001
From: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
Date: Wed, 26 Dec 2018 20:19:20 +0100
Subject: [PATCH] netdev_driver_t::recv: Fixed preconditions in doc

Removed the invalid precondition in netdev_driver_t::recv that the buffer never
NULL and the length positive. (In the "get message size" case both is wrong, in
the drop message case the first part is wrong.)
---
 drivers/include/net/netdev.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/include/net/netdev.h b/drivers/include/net/netdev.h
index 3d201d13f0..4f113d4b0d 100644
--- a/drivers/include/net/netdev.h
+++ b/drivers/include/net/netdev.h
@@ -313,7 +313,6 @@ typedef struct netdev_driver {
      * @brief Get a received frame
      *
      * @pre `(dev != NULL)`
-     * @pre `(buf != NULL) && (len > 0)`
      *
      * Supposed to be called from
      * @ref netdev_t::event_callback "netdev->event_callback()"
-- 
GitLab