Change in osmo-pcap[master]: vty_{client, server}_init(): remove unused argument

fixeria gerrit-no-reply at lists.osmocom.org
Fri Apr 16 18:28:02 UTC 2021


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-pcap/+/23778 )


Change subject: vty_{client,server}_init(): remove unused argument
......................................................................

vty_{client,server}_init(): remove unused argument

Change-Id: I65256c8602e91bcdbe5fe9e532b6ce7d347d3980
---
M src/osmo_client_main.c
M src/osmo_client_vty.c
M src/osmo_server_main.c
M src/osmo_server_vty.c
4 files changed, 4 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcap refs/changes/78/23778/1

diff --git a/src/osmo_client_main.c b/src/osmo_client_main.c
index cbaefef..7ca3548 100644
--- a/src/osmo_client_main.c
+++ b/src/osmo_client_main.c
@@ -234,7 +234,7 @@
 	logging_vty_add_cmds();
 	osmo_stats_vty_add_cmds();
 	osmo_talloc_vty_add_cmds();
-	vty_client_init(tall_cli_ctx);
+	vty_client_init();
 
 	/* parse options */
 	handle_options(argc, argv);
diff --git a/src/osmo_client_vty.c b/src/osmo_client_vty.c
index fed9bf6..7458f85 100644
--- a/src/osmo_client_vty.c
+++ b/src/osmo_client_vty.c
@@ -519,7 +519,7 @@
 }
 
 
-int vty_client_init(struct osmo_pcap_client *pcap)
+int vty_client_init(void)
 {
 	install_element(CONFIG_NODE, &cfg_client_cmd);
 	install_node(&client_node, config_write_client);
diff --git a/src/osmo_server_main.c b/src/osmo_server_main.c
index f8850db..9c234d5 100644
--- a/src/osmo_server_main.c
+++ b/src/osmo_server_main.c
@@ -247,7 +247,7 @@
 	logging_vty_add_cmds();
 	osmo_stats_vty_add_cmds();
 	osmo_talloc_vty_add_cmds();
-	vty_server_init(tall_srv_ctx);
+	vty_server_init();
 
 	/* parse options */
 	handle_options(argc, argv);
diff --git a/src/osmo_server_vty.c b/src/osmo_server_vty.c
index e9b54b1..87bcfa2 100644
--- a/src/osmo_server_vty.c
+++ b/src/osmo_server_vty.c
@@ -513,7 +513,7 @@
 	return CMD_SUCCESS;
 }
 
-void vty_server_init(struct osmo_pcap_server *server)
+void vty_server_init(void)
 {
 	install_element(CONFIG_NODE, &cfg_server_cmd);
 	install_node(&server_node, config_write_server);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-pcap/+/23778
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcap
Gerrit-Branch: master
Gerrit-Change-Id: I65256c8602e91bcdbe5fe9e532b6ce7d347d3980
Gerrit-Change-Number: 23778
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210416/774f8b8a/attachment.htm>


More information about the gerrit-log mailing list