WIP: yank out more unused cruft

This commit is contained in:
Scott Lystig Fritchie 2015-06-29 17:14:33 +09:00
parent 87ec988353
commit 151e696324
2 changed files with 2 additions and 4 deletions

View file

@ -325,9 +325,7 @@ do_pb_ll_request(PB_request, S) ->
{RqID, CMD} -> {RqID, CMD} ->
EpochID = element(2, CMD), % by common convention EpochID = element(2, CMD), % by common convention
{Rs, NewS} = do_pb_ll_request2(EpochID, CMD, S), {Rs, NewS} = do_pb_ll_request2(EpochID, CMD, S),
{RqID, CMD, Rs, NewS}; {RqID, CMD, Rs, NewS}
nope ->
{foo, bar, baz}
end, end,
{machi_pb_translate:to_pb_response(ReqID, Cmd, Result), S2}. {machi_pb_translate:to_pb_response(ReqID, Cmd, Result), S2}.

View file

@ -373,7 +373,7 @@ echo(Sock, String) when is_list(String) ->
%% @doc Get all epoch numbers from the FLU's projection store. %% @doc Get all epoch numbers from the FLU's projection store.
-spec echo(machi_dt:inet_host(), machi_dt:inet_port(), string()) -> -spec echo(machi_dt:inet_host(), machi_dt:inet_port(), string()) ->
{ok, [non_neg_integer()]} | {error, term()}. string() | {error, term()}.
echo(Host, TcpPort, String) when is_list(String) -> echo(Host, TcpPort, String) when is_list(String) ->
Sock = connect(#p_srvr{proto_mod=?MODULE, address=Host, port=TcpPort}), Sock = connect(#p_srvr{proto_mod=?MODULE, address=Host, port=TcpPort}),
try try