mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
slirp: Remove unneeded if_queued
There is now a trivial check on entry of if_start for pending packets, so we can drop the additional tracking via if_queued. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
e3078bf40a
commit
f373431977
3 changed files with 2 additions and 17 deletions
|
@ -235,7 +235,6 @@ struct Slirp {
|
|||
int mbuf_alloced;
|
||||
|
||||
/* if states */
|
||||
int if_queued; /* number of packets queued so far */
|
||||
struct mbuf if_fastq; /* fast queue (for interactive data) */
|
||||
struct mbuf if_batchq; /* queue for non-interactive data */
|
||||
struct mbuf *next_m; /* pointer to next mbuf to output */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue