Skip to content

Commit d999c0e

Browse files
rolanddsuryasaimadhu
authored andcommitted
x86/hpet: Remove unused FSEC_PER_NSEC define
The FSEC_PER_NSEC macro has had zero users since commit ab0e08f ("x86: hpet: Cleanup the clockevents init and register code"). Remove it. Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: Borislav Petkov <bp@suse.de> Acked-by: Thomas Gleixner <tglx@linutronix.de> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: x86-ml <x86@kernel.org> Link: https://lkml.kernel.org/r/20181130211450.5200-1-roland@purestorage.com
1 parent a786ef1 commit d999c0e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/x86/kernel/hpet.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121

2222
#define HPET_MASK CLOCKSOURCE_MASK(32)
2323

24-
/* FSEC = 10^-15
25-
NSEC = 10^-9 */
26-
#define FSEC_PER_NSEC 1000000L
27-
2824
#define HPET_DEV_USED_BIT 2
2925
#define HPET_DEV_USED (1 << HPET_DEV_USED_BIT)
3026
#define HPET_DEV_VALID 0x8

0 commit comments

Comments
 (0)