All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][MIPS] remove an unused variable about Au1000
@ 2006-10-29 14:37 Yoichi Yuasa
  2006-10-30 12:11 ` Sergei Shtylyov
  2006-10-30 14:43 ` Atsushi Nemoto
  0 siblings, 2 replies; 3+ messages in thread
From: Yoichi Yuasa @ 2006-10-29 14:37 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: yoichi_yuasa, linux-mips

Hi Ralf,

This patch has removed an unused variable about Au1000.

arch/mips/au1000/common/time.c: In function `mips_timer_interrupt':
arch/mips/au1000/common/time.c:82: warning: unused variable `count'

Yoichi

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/au1000/common/time.c mips/arch/mips/au1000/common/time.c
--- mips-orig/arch/mips/au1000/common/time.c	2006-10-24 11:07:06.417642500 +0900
+++ mips/arch/mips/au1000/common/time.c	2006-10-24 11:51:54.583538000 +0900
@@ -79,7 +79,6 @@ unsigned long wtimer;
 void mips_timer_interrupt(void)
 {
 	int irq = 63;
-	unsigned long count;
 
 	irq_enter();
 	kstat_this_cpu.irqs[irq]++;

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][MIPS] remove an unused variable about Au1000
  2006-10-29 14:37 [PATCH][MIPS] remove an unused variable about Au1000 Yoichi Yuasa
@ 2006-10-30 12:11 ` Sergei Shtylyov
  2006-10-30 14:43 ` Atsushi Nemoto
  1 sibling, 0 replies; 3+ messages in thread
From: Sergei Shtylyov @ 2006-10-30 12:11 UTC (permalink / raw)
  To: Yoichi Yuasa; +Cc: Ralf Baechle, linux-mips

Hello.

Yoichi Yuasa wrote:

> This patch has removed an unused variable about Au1000.

> arch/mips/au1000/common/time.c: In function `mips_timer_interrupt':
> arch/mips/au1000/common/time.c:82: warning: unused variable `count'

> Yoichi
> 
> Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
> 
> diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/au1000/common/time.c mips/arch/mips/au1000/common/time.c
> --- mips-orig/arch/mips/au1000/common/time.c	2006-10-24 11:07:06.417642500 +0900
> +++ mips/arch/mips/au1000/common/time.c	2006-10-24 11:51:54.583538000 +0900
> @@ -79,7 +79,6 @@ unsigned long wtimer;
>  void mips_timer_interrupt(void)
>  {
>  	int irq = 63;
> -	unsigned long count;
>  
>  	irq_enter();
>  	kstat_this_cpu.irqs[irq]++;

    Note that this whole handler should be removed. :-D

WBR, Sergei

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH][MIPS] remove an unused variable about Au1000
  2006-10-29 14:37 [PATCH][MIPS] remove an unused variable about Au1000 Yoichi Yuasa
  2006-10-30 12:11 ` Sergei Shtylyov
@ 2006-10-30 14:43 ` Atsushi Nemoto
  1 sibling, 0 replies; 3+ messages in thread
From: Atsushi Nemoto @ 2006-10-30 14:43 UTC (permalink / raw)
  To: yoichi_yuasa; +Cc: ralf, linux-mips

On Sun, 29 Oct 2006 23:37:40 +0900, Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> wrote:
> This patch has removed an unused variable about Au1000.
> 
> arch/mips/au1000/common/time.c: In function `mips_timer_interrupt':
> arch/mips/au1000/common/time.c:82: warning: unused variable `count'

That's my fault ... Thanks!

---
Atsushi Nemoto

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-10-30 14:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-29 14:37 [PATCH][MIPS] remove an unused variable about Au1000 Yoichi Yuasa
2006-10-30 12:11 ` Sergei Shtylyov
2006-10-30 14:43 ` Atsushi Nemoto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.