Commit 25e131e8 authored by Caveh Jalali's avatar Caveh Jalali Committed by chrome-bot
Browse files

timer.h: remove some duplicate constants



we can get these time unit/scalar constants from stddef.h which we get
for free by including libpayload.h.  no need to define them in
timer.h.  bonus feature: timer.h no longer executable.

BRANCH=none
BUG=none
TEST=rebuilt depthcharge for reef ; verified all use sites already
	include libpayload.h

Change-Id: Idbeb035e8f4f5e5c9347eb1025d94c85f75cc2ce
Signed-off-by: default avatarCaveh Jalali <caveh@google.com>
Reviewed-on: https://chromium-review.googlesource.com/620279

Reviewed-by: default avatarJulius Werner <jwerner@chromium.org>
parent e45c8083
......@@ -15,10 +15,6 @@
#ifndef __DRIVERS_TIMER_H__
#define __DRIVERS_TIMER_H__
#define USECS_PER_SEC 1000000
#define MSECS_PER_SEC 1000
#define USECS_PER_MSEC (USECS_PER_SEC / MSECS_PER_SEC)
struct stopwatch {
uint64_t start;
uint64_t expires;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment