genet: cnt here is write only and can be removed
Sponsored by: Netflix
This commit is contained in:
parent
b620928d54
commit
b66e766d57
@ -1012,7 +1012,7 @@ gen_start_locked(struct gen_softc *sc)
|
||||
{
|
||||
struct mbuf *m;
|
||||
if_t ifp;
|
||||
int cnt, err;
|
||||
int err;
|
||||
|
||||
GEN_ASSERT_LOCKED(sc);
|
||||
|
||||
@ -1025,7 +1025,7 @@ gen_start_locked(struct gen_softc *sc)
|
||||
IFF_DRV_RUNNING)
|
||||
return;
|
||||
|
||||
for (cnt = 0; ; cnt++) {
|
||||
while (true) {
|
||||
m = if_dequeue(ifp);
|
||||
if (m == NULL)
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user