Remove unused variable
This commit is contained in:
parent
884273eed0
commit
0d2f30103a
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: if_pppoe.c,v 1.100 2013/07/17 10:16:58 oki Exp $ */
|
||||
/* $NetBSD: if_pppoe.c,v 1.101 2013/09/13 21:09:40 martin Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002, 2008 The NetBSD Foundation, Inc.
|
||||
|
@ -30,7 +30,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_pppoe.c,v 1.100 2013/07/17 10:16:58 oki Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_pppoe.c,v 1.101 2013/09/13 21:09:40 martin Exp $");
|
||||
|
||||
#include "pppoe.h"
|
||||
#include "opt_pppoe.h"
|
||||
|
@ -1003,9 +1003,8 @@ pppoe_get_mbuf(size_t len)
|
|||
if (len + sizeof(struct ether_header) > MHLEN) {
|
||||
MCLGET(m, M_DONTWAIT);
|
||||
if ((m->m_flags & M_EXT) == 0) {
|
||||
struct mbuf *n;
|
||||
MFREE(m, n);
|
||||
return 0;
|
||||
m_free(m);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
m->m_data += sizeof(struct ether_header);
|
||||
|
|
Loading…
Reference in New Issue