about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libstore/download.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc
index 54f4dd218007..1076a6d94a8c 100644
--- a/src/libstore/download.cc
+++ b/src/libstore/download.cc
@@ -29,13 +29,6 @@ using namespace std::string_literals;
 
 namespace nix {
 
-double getTime()
-{
-    struct timeval tv;
-    gettimeofday(&tv, 0);
-    return tv.tv_sec + (tv.tv_usec / 1000000.0);
-}
-
 std::string resolveUri(const std::string & uri)
 {
     if (uri.compare(0, 8, "channel:") == 0)