The branch stable/13 has been updated by mw: URL: https://cgit.FreeBSD.org/src/commit/?id=201f6507c0f53d8e1b25a4b9f76e1818b6f34da6
commit 201f6507c0f53d8e1b25a4b9f76e1818b6f34da6 Author: John Baldwin <[email protected]> AuthorDate: 2022-04-06 23:45:28 +0000 Commit: Marcin Wojtas <[email protected]> CommitDate: 2023-01-27 12:05:54 +0000 ena: Remove unused variable. (cherry picked from commit 4dab99b936920cf0c8f3fcf63754985906714a40) --- sys/dev/ena/ena_netmap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/ena/ena_netmap.c b/sys/dev/ena/ena_netmap.c index 228db0cb31ab..e1244ffc8a44 100644 --- a/sys/dev/ena/ena_netmap.c +++ b/sys/dev/ena/ena_netmap.c @@ -503,10 +503,8 @@ ena_netmap_copy_data(struct netmap_adapter *na, struct netmap_slot *slots, { struct netmap_slot *nm_slot; void *slot_vaddr; - uint16_t packet_size; uint16_t data_amount; - packet_size = 0; do { nm_slot = &slots[slot_index]; slot_vaddr = NMB(na, nm_slot);
