aboutsummaryrefslogtreecommitdiff
path: root/vswitchd/mgmt.c
diff options
context:
space:
mode:
authorJustin Pettit <jpettit@nicira.com>2009-07-08 14:51:47 -0700
committerJustin Pettit <jpettit@nicira.com>2009-07-29 16:37:05 -0700
commit5a4baac6c28485838ca4059f6fda33b23e62f267 (patch)
tree909549149713266ce26a034def9da0fecc2727e6 /vswitchd/mgmt.c
parentba8de5cbc7a5a1edadf371107c55f946e25421d3 (diff)
vswitchd: Remove non-used function to prevent compiler warnings
The function send_ofmp_error_msg() is not currently used, so it was producing compiler warnings that it was defined. Remove the function until it's needed.
Diffstat (limited to 'vswitchd/mgmt.c')
-rw-r--r--vswitchd/mgmt.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/vswitchd/mgmt.c b/vswitchd/mgmt.c
index 45c35802..e2cc4f1f 100644
--- a/vswitchd/mgmt.c
+++ b/vswitchd/mgmt.c
@@ -527,20 +527,6 @@ send_config_update_ack(uint32_t xid, bool success)
}
static void
-send_ofmp_error_msg(uint32_t xid, uint16_t type, uint16_t code,
- const void *data, size_t len)
-{
- struct ofpbuf *buffer;
- struct ofmp_error_msg *oem;
-
- oem = make_ofmp_xid(sizeof(*oem)+len, OFMPT_ERROR, xid, &buffer);
- oem->type = htons(type);
- oem->code = htons(code);
- memcpy(oem->data, data, len);
- send_openflow_buffer(buffer);
-}
-
-static void
send_error_msg(uint32_t xid, uint16_t type, uint16_t code,
const void *data, size_t len)
{