projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a786ef1
)
x86/hpet: Remove unused FSEC_PER_NSEC define
author
Roland Dreier
<
[email protected]
>
Fri, 30 Nov 2018 21:14:50 +0000
(13:14 -0800)
committer
Borislav Petkov
<
[email protected]
>
Tue, 4 Dec 2018 11:17:21 +0000
(12:17 +0100)
The FSEC_PER_NSEC macro has had zero users since commit
ab0e08f15d23
("x86: hpet: Cleanup the clockevents init and register code").
Remove it.
Signed-off-by: Roland Dreier <
[email protected]
>
Signed-off-by: Borislav Petkov <
[email protected]
>
Acked-by: Thomas Gleixner <
[email protected]
>
Cc: "H. Peter Anvin" <
[email protected]
>
Cc: Ingo Molnar <
[email protected]
>
Cc: x86-ml <
[email protected]
>
Link:
https://lkml.kernel.org/r/
[email protected]
arch/x86/kernel/hpet.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/hpet.c
b/arch/x86/kernel/hpet.c
index b0acb22e5a465096b37f7a67a689852685228087..dfd3aca82c61cbe345f462a62ea6b52fa0b81516 100644
(file)
--- a/
arch/x86/kernel/hpet.c
+++ b/
arch/x86/kernel/hpet.c
@@
-21,10
+21,6
@@
#define HPET_MASK CLOCKSOURCE_MASK(32)
-/* FSEC = 10^-15
- NSEC = 10^-9 */
-#define FSEC_PER_NSEC 1000000L
-
#define HPET_DEV_USED_BIT 2
#define HPET_DEV_USED (1 << HPET_DEV_USED_BIT)
#define HPET_DEV_VALID 0x8