Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pcmcia Simplify bpf_mtap() call. No functional change.
details: https://anonhg.NetBSD.org/src/rev/94b5cf9c3c04
branches: trunk
changeset: 362782:94b5cf9c3c04
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Jun 25 09:57:25 2018 +0000
description:
Simplify bpf_mtap() call. No functional change.
diffstat:
sys/dev/pcmcia/if_malo_pcmcia.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 02d9f2feb19a -r 94b5cf9c3c04 sys/dev/pcmcia/if_malo_pcmcia.c
--- a/sys/dev/pcmcia/if_malo_pcmcia.c Mon Jun 25 09:38:46 2018 +0000
+++ b/sys/dev/pcmcia/if_malo_pcmcia.c Mon Jun 25 09:57:25 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_malo_pcmcia.c,v 1.16 2018/01/22 14:40:53 maxv Exp $ */
+/* $NetBSD: if_malo_pcmcia.c,v 1.17 2018/06/25 09:57:25 msaitoh Exp $ */
/* $OpenBSD: if_malo.c,v 1.65 2009/03/29 21:53:53 sthen Exp $ */
/*
@@ -18,7 +18,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_malo_pcmcia.c,v 1.16 2018/01/22 14:40:53 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_malo_pcmcia.c,v 1.17 2018/06/25 09:57:25 msaitoh Exp $");
#ifdef _MODULE
#include <sys/module.h>
@@ -522,8 +522,7 @@
IFQ_DEQUEUE(&ifp->if_snd, m);
- if (ifp->if_bpf)
- bpf_ops->bpf_mtap(ifp->if_bpf, m);
+ bpf_mtap(ifp, m);
if (cmalo_tx(sc, m) != 0)
ifp->if_oerrors++;
Home |
Main Index |
Thread Index |
Old Index