CID-3819: `n' is always NULL here, remove dead code.
This commit is contained in:
parent
9254207181
commit
86e5639788
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: hci_link.c,v 1.8 2006/11/16 01:33:45 christos Exp $ */
|
||||
/* $NetBSD: hci_link.c,v 1.9 2006/12/26 00:00:22 alc Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2005 Iain Hibbert.
|
||||
@ -31,7 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: hci_link.c,v 1.8 2006/11/16 01:33:45 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: hci_link.c,v 1.9 2006/12/26 00:00:22 alc Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -414,7 +414,6 @@ hci_acl_send(struct mbuf *m, struct hci_link *link,
|
||||
|
||||
nomem:
|
||||
if (m) m_freem(m);
|
||||
if (n) m_freem(n);
|
||||
if (pdu) {
|
||||
MBUFQ_DRAIN(&pdu->lp_data);
|
||||
pool_put(&l2cap_pdu_pool, pdu);
|
||||
|
Loading…
Reference in New Issue
Block a user