Skip to content

Commit

Permalink
x86/hpet: Remove unused FSEC_PER_NSEC define
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Roland Dreier authored and Borislav Petkov committed Dec 4, 2018
1 parent a786ef1 commit d999c0e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions arch/x86/kernel/hpet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d999c0e

Please sign in to comment.