summaryrefslogtreecommitdiffstats
path: root/sys/net/if_ef.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-05-24 06:10:25 +0000
committerpeter <peter@FreeBSD.org>2002-05-24 06:10:25 +0000
commitd51203783b4c1d17cc6a5727d35acdea0deeb1ae (patch)
tree7e50d052432765adc2803c282f93a3d072def487 /sys/net/if_ef.c
parentc952c3ce19c501f738ac8e55f27dafc2acc40e18 (diff)
downloadFreeBSD-src-d51203783b4c1d17cc6a5727d35acdea0deeb1ae.zip
FreeBSD-src-d51203783b4c1d17cc6a5727d35acdea0deeb1ae.tar.gz
Fix warning; remove unused arg that was passed through uninitialized.
Diffstat (limited to 'sys/net/if_ef.c')
-rw-r--r--sys/net/if_ef.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_ef.c b/sys/net/if_ef.c
index 220dfac..710536c 100644
--- a/sys/net/if_ef.c
+++ b/sys/net/if_ef.c
@@ -248,7 +248,7 @@ ef_start(struct ifnet *ifp)
* parameter passing but simplify the code
*/
static int __inline
-ef_inputEII(struct mbuf *m, struct ether_header *eh, struct llc* l,
+ef_inputEII(struct mbuf *m, struct ether_header *eh,
u_short ether_type, struct ifqueue **inq)
{
switch(ether_type) {
@@ -388,7 +388,7 @@ ef_input(struct ifnet *ifp, struct ether_header *eh, struct mbuf *m)
inq = NULL;
switch(ft) {
case ETHER_FT_EII:
- if (ef_inputEII(m, eh, l, ether_type, &inq) != 0)
+ if (ef_inputEII(m, eh, ether_type, &inq) != 0)
return EPROTONOSUPPORT;
break;
#ifdef IPX
OpenPOWER on IntegriCloud