From 02f841d87fc388a564fa66e5158e8c66d6fd39b0 Mon Sep 17 00:00:00 2001 From: Jim Wilcoxson Date: Fri, 17 Apr 2020 20:19:23 +0000 Subject: [PATCH] em.c: remove boot_tv as it's no longer used --- em.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/em.c b/em.c index c40b9e4..25053a5 100644 --- a/em.c +++ b/em.c @@ -4378,9 +4378,6 @@ int main (int argc, char **argv) { #define XJ 0312 #define XRBRACE 0375 - struct timeval boot_tv; - struct timezone tz; - printf("[Prime Emulator ver %s %s]\n", REV, __DATE__); printf("[Copyright (C) 2005-2019 Jim Wilcoxson prirun@gmail.com]\n"); if (argc > 1 && (strcmp(argv[1],"--version") == 0)) { @@ -4918,13 +4915,6 @@ a filename, CPU registers and keys are loaded from the runfile header.\n\ } RPL = rvec[2]; - /* initialize the timer stuff */ - - if (gettimeofday(&boot_tv, &tz) != 0) { - perror("gettimeofday failed"); - fatal(NULL); - } - /* main instruction decode loop */ grp = RP; /* see similar assignments in fault, before longjmp */