diff mbox series

MIPS: SGI-IP27: Remove not used definition TICK_SIZE in ip27-timer.c

Message ID 1589958482-9948-1-git-send-email-yangtiezhu@loongson.cn (mailing list archive)
State Mainlined
Commit 37e2bc4433a9d68f6d4c8e3fe5ef3a77609bbe8d
Headers show
Series MIPS: SGI-IP27: Remove not used definition TICK_SIZE in ip27-timer.c | expand

Commit Message

Tiezhu Yang May 20, 2020, 7:08 a.m. UTC
After commit f5ff0a280201 ("[MIPS] Use generic NTP code for all MIPS
platforms"), TICK_SIZE is not used in ip27-timer.c for many years,
remove it.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
---

Hi Thomas,

I find this not used definition TICK_SIZE just now, maybe I should send
these cleanup patches in a patch series, sorry for that if it is noisy.

 arch/mips/sgi-ip27/ip27-timer.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Thomas Bogendoerfer May 21, 2020, 7:17 a.m. UTC | #1
On Wed, May 20, 2020 at 03:08:02PM +0800, Tiezhu Yang wrote:
> After commit f5ff0a280201 ("[MIPS] Use generic NTP code for all MIPS
> platforms"), TICK_SIZE is not used in ip27-timer.c for many years,
> remove it.
> 
> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
> ---
> 
> Hi Thomas,
> 
> I find this not used definition TICK_SIZE just now, maybe I should send
> these cleanup patches in a patch series, sorry for that if it is noisy.

no problem:-)

>  arch/mips/sgi-ip27/ip27-timer.c | 2 --
>  1 file changed, 2 deletions(-)

applied to mips-next.

Thomas.
diff mbox series

Patch

diff --git a/arch/mips/sgi-ip27/ip27-timer.c b/arch/mips/sgi-ip27/ip27-timer.c
index 115b1d9..c0e3363 100644
--- a/arch/mips/sgi-ip27/ip27-timer.c
+++ b/arch/mips/sgi-ip27/ip27-timer.c
@@ -28,8 +28,6 @@ 
 
 #include "ip27-common.h"
 
-#define TICK_SIZE (tick_nsec / 1000)
-
 static int rt_next_event(unsigned long delta, struct clock_event_device *evt)
 {
 	unsigned int cpu = smp_processor_id();