Fix some minor issues in drivers/net/skeleton.c
This commit is contained in:
parent
4be064d19a
commit
6bd744c4b3
@ -65,9 +65,7 @@
|
|||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* If processing is not done at the interrupt level, then work queue support
|
/* Work queue support is required. */
|
||||||
* is required.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#if !defined(CONFIG_SCHED_WORKQUEUE)
|
#if !defined(CONFIG_SCHED_WORKQUEUE)
|
||||||
# error Work queue support is required in this configuration (CONFIG_SCHED_WORKQUEUE)
|
# error Work queue support is required in this configuration (CONFIG_SCHED_WORKQUEUE)
|
||||||
@ -959,9 +957,7 @@ static int skel_txavail(FAR struct net_driver_s *dev)
|
|||||||
* mac - The MAC address to be added
|
* mac - The MAC address to be added
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
* None
|
* Zero (OK) on success; a negated errno value on failure.
|
||||||
*
|
|
||||||
* Assumptions:
|
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
@ -988,9 +984,7 @@ static int skel_addmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac)
|
|||||||
* mac - The MAC address to be removed
|
* mac - The MAC address to be removed
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
* None
|
* Zero (OK) on success; a negated errno value on failure.
|
||||||
*
|
|
||||||
* Assumptions:
|
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
@ -1015,9 +1009,7 @@ static int skel_rmmac(FAR struct net_driver_s *dev, FAR const uint8_t *mac)
|
|||||||
* priv - A reference to the private driver state structure
|
* priv - A reference to the private driver state structure
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
* OK on success; Negated errno on failure.
|
* Zero (OK) on success; a negated errno value on failure.
|
||||||
*
|
|
||||||
* Assumptions:
|
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user