Correct some comments

This commit is contained in:
Gregory Nutt
2015-05-28 19:44:04 -06:00
parent 7ec0725533
commit 0595d54470
2 changed files with 4 additions and 16 deletions
+2 -8
View File
@@ -282,8 +282,6 @@ void devif_initialize(void);
* *
* Description: * Description:
* Configure the pre-allocated callback structures into a free list. * Configure the pre-allocated callback structures into a free list.
* This is called internally as part of uIP initialization and should not
* be accessed from the application or socket layer.
* *
* Assumptions: * Assumptions:
* This function is called with interrupts disabled. * This function is called with interrupts disabled.
@@ -297,8 +295,6 @@ void devif_callback_init(void);
* *
* Description: * Description:
* Allocate a callback container from the free list. * Allocate a callback container from the free list.
* This is called internally as part of uIP initialization and should not
* be accessed from the application or socket layer.
* *
* Assumptions: * Assumptions:
* This function is called with interrupts disabled. * This function is called with interrupts disabled.
@@ -312,8 +308,6 @@ FAR struct devif_callback_s *devif_callback_alloc(FAR struct devif_callback_s **
* *
* Description: * Description:
* Return a callback container to the free list. * Return a callback container to the free list.
* This is called internally as part of uIP initialization and should not
* be accessed from the application or socket layer.
* *
* Assumptions: * Assumptions:
* This function is called with interrupts disabled. * This function is called with interrupts disabled.
@@ -328,8 +322,6 @@ void devif_callback_free(FAR struct devif_callback_s *cb,
* *
* Description: * Description:
* Execute a list of callbacks. * Execute a list of callbacks.
* This is called internally as part of uIP initialization and should not
* be accessed from the application or socket layer.
* *
* Input parameters: * Input parameters:
* dev - The network device state structure associated with the network * dev - The network device state structure associated with the network
@@ -337,6 +329,8 @@ void devif_callback_free(FAR struct devif_callback_s *cb,
* pvconn - Holds a reference to the TCP connection structure or the UDP * pvconn - Holds a reference to the TCP connection structure or the UDP
* port structure. May be NULL if the even is not related to a TCP * port structure. May be NULL if the even is not related to a TCP
* connection or UDP port. * connection or UDP port.
* flags - The bit set of events to be notified.
* list - The list to traverse in performing the notifications
* *
* Returned value: * Returned value:
* The updated flags as modified by the callback functions. * The updated flags as modified by the callback functions.
+2 -8
View File
@@ -71,8 +71,6 @@ static FAR struct devif_callback_s *g_cbfreelist = NULL;
* *
* Description: * Description:
* Configure the pre-allocated callback structures into a free list. * Configure the pre-allocated callback structures into a free list.
* This is called internally as part of uIP initialization and should not
* be accessed from the application or socket layer.
* *
* Assumptions: * Assumptions:
* This function is called with interrupts disabled. * This function is called with interrupts disabled.
@@ -94,8 +92,6 @@ void devif_callback_init(void)
* *
* Description: * Description:
* Allocate a callback container from the free list. * Allocate a callback container from the free list.
* This is called internally as part of uIP initialization and should not
* be accessed from the application or socket layer.
* *
* Assumptions: * Assumptions:
* This function is called with interrupts disabled. * This function is called with interrupts disabled.
@@ -146,8 +142,6 @@ FAR struct devif_callback_s *devif_callback_alloc(FAR struct devif_callback_s **
* *
* Description: * Description:
* Return a callback container to the free list. * Return a callback container to the free list.
* This is called internally as part of uIP initialization and should not
* be accessed from the application or socket layer.
* *
* Assumptions: * Assumptions:
* This function is called with interrupts disabled. * This function is called with interrupts disabled.
@@ -213,8 +207,6 @@ void devif_callback_free(FAR struct devif_callback_s *cb,
* *
* Description: * Description:
* Execute a list of callbacks. * Execute a list of callbacks.
* This is called internally as part of uIP initialization and should not
* be accessed from the application or socket layer.
* *
* Input parameters: * Input parameters:
* dev - The network device state structure associated with the network * dev - The network device state structure associated with the network
@@ -222,6 +214,8 @@ void devif_callback_free(FAR struct devif_callback_s *cb,
* pvconn - Holds a reference to the TCP connection structure or the UDP * pvconn - Holds a reference to the TCP connection structure or the UDP
* port structure. May be NULL if the even is not related to a TCP * port structure. May be NULL if the even is not related to a TCP
* connection or UDP port. * connection or UDP port.
* flags - The bit set of events to be notified.
* list - The list to traverse in performing the notifications
* *
* Returned value: * Returned value:
* The updated flags as modified by the callback functions. * The updated flags as modified by the callback functions.