diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2017-01-16 10:49:36 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2017-01-16 10:49:36 +0000 |
commit | 0e055e8a87bde3fc0fcec70958c67401b63e941c (patch) | |
tree | 7cc159fc347ced202630b80210384a3f7da59795 | |
parent | ad74cec1eb21a998df1e5915f56e7c16a22eed49 (diff) |
Removed unused function that is a leftover from the old debug code.
OK rzalamena@
-rw-r--r-- | sys/net/switchofp.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/net/switchofp.c b/sys/net/switchofp.c index da45ab3713c..8370a196285 100644 --- a/sys/net/switchofp.c +++ b/sys/net/switchofp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: switchofp.c,v 1.49 2017/01/12 11:49:42 rzalamena Exp $ */ +/* $OpenBSD: switchofp.c,v 1.50 2017/01/16 10:49:35 reyk Exp $ */ /* * Copyright (c) 2016 Kazuya GODA <goda@openbsd.org> @@ -5430,17 +5430,6 @@ swofp_group_mod_delete(struct switch_softc *sc, struct mbuf *m) return (0); } -const char * -swofp_group_mod_cmd_str(uint16_t cmd) -{ - const char *cmd_str[] = { "Add", "Modify", "Delete" }; - - if (cmd > OFP_GROUPCMD_DELETE) - return ("Unknown"); - else - return (cmd_str[cmd]); -} - int swofp_group_mod(struct switch_softc *sc, struct mbuf *m) { |