mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
lib: Remove unreachable JSONRPC case
jsonrpc_session_recv() handles echo replies prior to this. Found by inspection. Signed-off-by: Joe Stringer <joestringer@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -332,9 +332,6 @@ ovsdb_idl_run(struct ovsdb_idl *idl)
|
||||
&& !strcmp(msg->method, "stolen")) {
|
||||
/* Someone else stole our lock. */
|
||||
ovsdb_idl_parse_lock_notify(idl, msg->params, false);
|
||||
} else if (msg->type == JSONRPC_REPLY && msg->id->type == JSON_STRING
|
||||
&& !strcmp(msg->id->u.string, "echo")) {
|
||||
/* Reply to our echo request. Ignore it. */
|
||||
} else if ((msg->type == JSONRPC_ERROR
|
||||
|| msg->type == JSONRPC_REPLY)
|
||||
&& ovsdb_idl_txn_process_reply(idl, msg)) {
|
||||
|
Reference in New Issue
Block a user