[syslinux:elflink] elflink: remove the unnecessary calling of times() in rawcon_read.c
syslinux-bot for Feng Tang
feng.tang at intel.com
Thu Aug 12 21:03:11 PDT 2010
Commit-ID: 847c7eeabe11032a13e04a8b29526b3024906d98
Gitweb: http://syslinux.zytor.com/commit/847c7eeabe11032a13e04a8b29526b3024906d98
Author: Feng Tang <feng.tang at intel.com>
AuthorDate: Tue, 8 Jun 2010 16:51:29 +0800
Committer: Feng Tang <feng.tang at intel.com>
CommitDate: Tue, 20 Jul 2010 11:10:03 +0800
elflink: remove the unnecessary calling of times() in rawcon_read.c
---
com32/lib/sys/rawcon_read.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/com32/lib/sys/rawcon_read.c b/com32/lib/sys/rawcon_read.c
index 92c9b29..fbcd936 100644
--- a/com32/lib/sys/rawcon_read.c
+++ b/com32/lib/sys/rawcon_read.c
@@ -36,7 +36,6 @@
#include <string.h>
#include <com32.h>
#include <minmax.h>
-#include <sys/times.h>
#include "file.h"
/* Global, since it's used by stdcon_read */
@@ -45,14 +44,11 @@ ssize_t __rawcon_read(struct file_info *fp, void *buf, size_t count)
com32sys_t ireg, oreg;
char *bufp = buf;
size_t n = 0;
- clock_t start;
(void)fp;
memset(&ireg, 0, sizeof ireg);
- start = times(NULL);
-
while (n < count) {
/* Poll */
ireg.eax.b[1] = 0x0B;
More information about the Syslinux-commits
mailing list