K64F ENET: Update to remove unused variable. This is no longer available in the updated SDK ENET driver

pull/3290/head
Mahadevan Mahesh 2016-10-31 15:58:14 -05:00 committed by Anna Bridge
parent 6c9715b738
commit 0a134b851a
1 changed files with 0 additions and 2 deletions

View File

@ -86,10 +86,8 @@ static void update_read_buffer(uint8_t *buf)
/* Increases the buffer descriptor to the next one. */
if (g_handle.rxBdCurrent->control & ENET_BUFFDESCRIPTOR_RX_WRAP_MASK) {
g_handle.rxBdCurrent = g_handle.rxBdBase;
g_handle.rxBdDirty = g_handle.rxBdBase;
} else {
g_handle.rxBdCurrent++;
g_handle.rxBdDirty++;
}
/* Actives the receive buffer descriptor. */