Skip to content

Commit 177eaff

Browse files
committed
K64F ENET: Update to remove unused variable. This is no longer available in the updated SDK ENET driver
1 parent 931da51 commit 177eaff

File tree

1 file changed

+0
-2
lines changed
  • features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_Freescale

1 file changed

+0
-2
lines changed

features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_Freescale/k64f_emac.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,8 @@ static void update_read_buffer(uint8_t *buf)
8686
/* Increases the buffer descriptor to the next one. */
8787
if (g_handle.rxBdCurrent->control & ENET_BUFFDESCRIPTOR_RX_WRAP_MASK) {
8888
g_handle.rxBdCurrent = g_handle.rxBdBase;
89-
g_handle.rxBdDirty = g_handle.rxBdBase;
9089
} else {
9190
g_handle.rxBdCurrent++;
92-
g_handle.rxBdDirty++;
9391
}
9492

9593
/* Actives the receive buffer descriptor. */

0 commit comments

Comments
 (0)