Skip to content

Commit 038d019

Browse files
committed
Remove xLastUnsolicitedNDTime
1 parent f407ddd commit 038d019

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

source/FreeRTOS_ND.c

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,6 @@
9797
/** @brief The ND cache. */
9898
static NDCacheRow_t xNDCache[ ipconfigND_CACHE_ENTRIES ];
9999

100-
/** @brief The time at which the last unsolicited ND was sent. Unsolicited NDs are used
101-
* to ensure ND tables are up to date and to detect IP address conflicts. */
102-
/* MISRA Ref 8.9.1 [File scoped variables] */
103-
/* More details at: https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/blob/main/MISRA.md#rule-89 */
104-
/* coverity[misra_c_2012_rule_8_9_violation] */
105-
static TickType_t xLastUnsolicitedNDTime = 0U;
106100

107101
/*-----------------------------------------------------------*/
108102

@@ -1405,19 +1399,4 @@
14051399
}
14061400

14071401
/*-----------------------------------------------------------*/
1408-
1409-
/**
1410-
* @brief Send an unsolicited ND packet to allow this node to announce the IP-MAC
1411-
* mapping to the entire network.
1412-
*/
1413-
void vNDSendUnsolicited( void )
1414-
{
1415-
/* Setting xLastUnsolicitedNDTime to 0 will force an unsolicited ND the next
1416-
* time vNDAgeCache() is called. */
1417-
xLastUnsolicitedNDTime = ( TickType_t ) 0;
1418-
1419-
/* Let the IP-task call vARPAgeCache(). */
1420-
( void ) xSendEventToIPTask( eNDTimerEvent );
1421-
}
1422-
/*-----------------------------------------------------------*/
14231402
#endif /* ipconfigUSE_IPv6 */

0 commit comments

Comments
 (0)