diff options
author | Rafael Zalamena <rzalamena@cvs.openbsd.org> | 2017-01-17 12:30:36 +0000 |
---|---|---|
committer | Rafael Zalamena <rzalamena@cvs.openbsd.org> | 2017-01-17 12:30:36 +0000 |
commit | 8ca752944f0c0a4f66957bae619d5718463b8c8e (patch) | |
tree | e8788c9cfbe2ed44027c554dc81157a23cae25c6 /sys/net/switchofp.c | |
parent | b59b42d35c82aebbf42190dea313eee272e971ea (diff) |
Clean-up switch(4) device by removing excess prototypes, verbose debugs
and unused functions.
ok reyk@
Diffstat (limited to 'sys/net/switchofp.c')
-rw-r--r-- | sys/net/switchofp.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/net/switchofp.c b/sys/net/switchofp.c index 40b33679258..4561ff87840 100644 --- a/sys/net/switchofp.c +++ b/sys/net/switchofp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: switchofp.c,v 1.54 2017/01/17 09:36:28 rzalamena Exp $ */ +/* $OpenBSD: switchofp.c,v 1.55 2017/01/17 12:30:35 rzalamena Exp $ */ /* * Copyright (c) 2016 Kazuya GODA <goda@openbsd.org> @@ -1058,8 +1058,6 @@ swofp_create(struct switch_softc *sc) sizeof(struct ofp_header)); #endif - DPRINTF(sc, "enable OpenFlow switch capability\n"); - return (0); } @@ -4379,8 +4377,6 @@ swofp_execute_action(struct switch_softc *sc, struct mbuf *m, return (NULL); } - DPRINTF(sc, "execute action type %u\n", handler->action_type); - m = handler->action(sc, m, swpld, oah); if (m == NULL) return (NULL); |