Skip to content

Commit 38927aa

Browse files
committed
kernel/os/mbuf: Remove unneeded assignment in os_mbuf_dup
omp is assigned in each loop iteration so no need to assign value before loop.
1 parent 0b5afe1 commit 38927aa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

kernel/os/src/os_mbuf.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,6 @@ os_mbuf_dup(struct os_mbuf *om)
371371
struct os_mbuf *head;
372372
struct os_mbuf *copy;
373373

374-
omp = om->om_omp;
375-
376374
head = NULL;
377375
copy = NULL;
378376

0 commit comments

Comments
 (0)