Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] time.h: remove ifdefs

Remove these ifdefs - there's no need to have more than one definition of
these multipliers anywhere.

Cc: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Andrew Morton and committed by
Linus Torvalds
373016e9 84f902c0

-9
-9
include/linux/time.h
··· 29 29 30 30 /* Parameters used to convert the timespec values */ 31 31 #define MSEC_PER_SEC (1000L) 32 - 33 - #ifndef USEC_PER_SEC 34 32 #define USEC_PER_SEC (1000000L) 35 - #endif 36 - 37 - #ifndef NSEC_PER_SEC 38 33 #define NSEC_PER_SEC (1000000000L) 39 - #endif 40 - 41 - #ifndef NSEC_PER_USEC 42 34 #define NSEC_PER_USEC (1000L) 43 - #endif 44 35 45 36 static __inline__ int timespec_equal(struct timespec *a, struct timespec *b) 46 37 {