Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Nov 27, 2017
1 parent bc90f3f commit d5b6bce
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 1,165 deletions.
16 changes: 0 additions & 16 deletions src/clients/ntp-client_proposal.rb
Expand Up @@ -169,22 +169,6 @@ def ValidateSingleServer(ntp_server)
true
end

def AddSingleServer(server)
idx = NtpClient.findSyncRecord("server", server)

# -1 means adding new server
if idx == -1
Ops.set(NtpClient.selected_record, "address", server)
Ops.set(NtpClient.selected_record, "type", "server")
else
NtpClient.selectSyncRecord(idx)
end

NtpClient.storeSyncRecord

nil
end

def MakeProposal
ntp_items = []

Expand Down
290 changes: 0 additions & 290 deletions src/include/ntp-client/clocktypes.rb

This file was deleted.

0 comments on commit d5b6bce

Please sign in to comment.