lkml.org 
[lkml]   [2020]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] MIPS: SGI-IP27: Remove not used definition TICK_SIZE in ip27-timer.c
Date
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(-)

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();
--
2.1.0
\
 
 \ /
  Last update: 2020-05-20 09:09    [W:0.038 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site