diff options
Diffstat (limited to 'sys/dev/sk/if_sk.c')
-rw-r--r-- | sys/dev/sk/if_sk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c index 2bc4f15..d1ce5ac 100644 --- a/sys/dev/sk/if_sk.c +++ b/sys/dev/sk/if_sk.c @@ -1106,11 +1106,11 @@ sk_jfree(buf, args) /* Extract the softc struct pointer. */ sc_if = (struct sk_if_softc *)args; - SK_IF_LOCK(sc_if); - if (sc_if == NULL) panic("sk_jfree: didn't get softc pointer!"); + SK_IF_LOCK(sc_if); + /* calculate the slot this buffer belongs to */ i = ((vm_offset_t)buf - (vm_offset_t)sc_if->sk_cdata.sk_jumbo_buf) / SK_JLEN; |