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.

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

Change-Id: Idbeb035e8f4f5e5c9347eb1025d94c85f75cc2ce
Signed-off-by: default avatarCaveh Jalali <>

Reviewed-by: default avatarJulius Werner <>
parent e45c8083
......@@ -15,10 +15,6 @@
#ifndef __DRIVERS_TIMER_H__
#define __DRIVERS_TIMER_H__
#define USECS_PER_SEC 1000000
#define MSECS_PER_SEC 1000
struct stopwatch {
uint64_t start;
uint64_t expires;
Supports Markdown
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