From: Ben Pfaff Date: Thu, 17 Dec 2009 19:20:31 +0000 (-0800) Subject: ovsdb-server: Remove write-only struct member. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57972e2ed740f00b2d575b55d609c69ae0a86d4f;p=openvswitch ovsdb-server: Remove write-only struct member. --- 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; }