No need to explicitly return ok here. Return value will be ignored
anyway.
Signed-off-by: Peter Lemenkov <lemenkov@redhat.com>
-record(state, {server = <<"">> :: binary()}).
start(_Opts) ->
- cyrsasl:register_mechanism(<<"ANONYMOUS">>, ?MODULE, plain),
- ok.
+ cyrsasl:register_mechanism(<<"ANONYMOUS">>, ?MODULE, plain).
stop() -> ok.
-export_type([error_reason/0]).
start(_Opts) ->
- cyrsasl:register_mechanism(<<"X-OAUTH2">>, ?MODULE, plain),
- ok.
+ cyrsasl:register_mechanism(<<"X-OAUTH2">>, ?MODULE, plain).
stop() -> ok.
-export_type([error_reason/0]).
start(_Opts) ->
- cyrsasl:register_mechanism(<<"PLAIN">>, ?MODULE, plain),
- ok.
+ cyrsasl:register_mechanism(<<"PLAIN">>, ?MODULE, plain).
stop() -> ok.