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.)
This commit is contained in:
Marian Buschsieweke 2018-12-26 20:19:20 +01:00
parent 66e4532898
commit b6069eb5f5
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -313,7 +313,6 @@ typedef struct netdev_driver {
* @brief Get a received frame * @brief Get a received frame
* *
* @pre `(dev != NULL)` * @pre `(dev != NULL)`
* @pre `(buf != NULL) && (len > 0)`
* *
* Supposed to be called from * Supposed to be called from
* @ref netdev_t::event_callback "netdev->event_callback()" * @ref netdev_t::event_callback "netdev->event_callback()"