ovsdb-server: Remove write-only struct member.
authorBen Pfaff <blp@nicira.com>
Thu, 17 Dec 2009 19:20:31 +0000 (11:20 -0800)
committerBen Pfaff <blp@nicira.com>
Thu, 17 Dec 2009 21:48:09 +0000 (13:48 -0800)
ovsdb/jsonrpc-server.c

index 1c08a10f398f13135fe4fc5ebe63eb0ce154db6e..a8e724a2f32adb178645bb6def996cf8f7e694e0 100644 (file)
@@ -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;
 }