From 57972e2ed740f00b2d575b55d609c69ae0a86d4f Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 17 Dec 2009 11:20:31 -0800 Subject: [PATCH] ovsdb-server: Remove write-only struct member. --- ovsdb/jsonrpc-server.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ovsdb/jsonrpc-server.c b/ovsdb/jsonrpc-server.c index 1c08a10f..a8e724a2 100644 --- a/ovsdb/jsonrpc-server.c +++ b/ovsdb/jsonrpc-server.c @@ -72,7 +72,6 @@ struct ovsdb_jsonrpc_server { struct list sessions; /* List of "struct ovsdb_jsonrpc_session"s. */ unsigned int n_sessions, max_sessions; - unsigned int max_triggers; struct pstream **listeners; size_t n_listeners, allocated_listeners; @@ -84,7 +83,6 @@ ovsdb_jsonrpc_server_create(struct ovsdb *db) struct ovsdb_jsonrpc_server *server = xzalloc(sizeof *server); server->db = db; server->max_sessions = 64; - server->max_triggers = 64; list_init(&server->sessions); return server; } -- 2.30.2