[XS] Change in ...osmo_dia2gsup[master]: osmo_dia2gsup: remove unused start/0
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/40146?usp=email ) Change subject: osmo_dia2gsup: remove unused start/0 ...................................................................... osmo_dia2gsup: remove unused start/0 This function is not used anywhere. It's also not consistent with the start_link/0, which is starting the gen_server instance. Change-Id: Ibd4e1d86dc59d792f7f6ac027ee63fc2086b31c3 --- M src/osmo_dia2gsup.erl 1 file changed, 1 insertion(+), 5 deletions(-) git pull ssh://gerrit.osmocom.org:29418/erlang/osmo_dia2gsup refs/changes/46/40146/1 diff --git a/src/osmo_dia2gsup.erl b/src/osmo_dia2gsup.erl index cda616b..47ca2a4 100644 --- a/src/osmo_dia2gsup.erl +++ b/src/osmo_dia2gsup.erl @@ -40,7 +40,7 @@ % API -export([start_link/0]). --export([start/0, stop/0]). +-export([stop/0]). % gen_server callbacks -export([init/1, handle_call/3, handle_cast/2, handle_info/2]). @@ -80,10 +80,6 @@ start_link() -> gen_server:start_link({local, ?SERVER}, ?MODULE, [], []). -start() -> - application:ensure_all_started(?MODULE), - start_link(). - stop() -> gen_server:cast(?SERVER, stop). -- To view, visit https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/40146?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: erlang/osmo_dia2gsup Gerrit-Branch: master Gerrit-Change-Id: Ibd4e1d86dc59d792f7f6ac027ee63fc2086b31c3 Gerrit-Change-Number: 40146 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy@sysmocom.de>
participants (1)
-
fixeria