All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -queue] [loongson] arch/mips/pci/fixup-lemote2f.c: Remove unused variable
@ 2009-11-11 13:28 Wu Zhangjin
  2009-11-11 13:32 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Wu Zhangjin @ 2009-11-11 13:28 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-mips, Wu Zhangjin

(Hi, Ralf, Could you please fold it into "MIPS: Lemote-2f: Add PCI
 support"?)

This patch fixes the following warning:

arch/mips/pci/fixup-lemote2f.c:115: warning: unused variable 'val'

Signed-off-by: Wu Zhangjin <wuzhangjin@gmail.com>
---
 arch/mips/pci/fixup-lemote2f.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/arch/mips/pci/fixup-lemote2f.c b/arch/mips/pci/fixup-lemote2f.c
index e7c2b4d..caf2ede 100644
--- a/arch/mips/pci/fixup-lemote2f.c
+++ b/arch/mips/pci/fixup-lemote2f.c
@@ -112,8 +112,6 @@ static void __init loongson_cs5536_ide_fixup(struct pci_dev *pdev)
 
 static void __init loongson_cs5536_acc_fixup(struct pci_dev *pdev)
 {
-	u8 val;
-
 	/* enable the AUDIO interrupt in PIC  */
 	pci_write_config_dword(pdev, PCI_ACC_INT_REG, 1);
 
-- 
1.6.2.1

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

* Re: [PATCH -queue] [loongson] arch/mips/pci/fixup-lemote2f.c: Remove unused variable
  2009-11-11 13:28 [PATCH -queue] [loongson] arch/mips/pci/fixup-lemote2f.c: Remove unused variable Wu Zhangjin
@ 2009-11-11 13:32 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-11-11 13:32 UTC (permalink / raw)
  To: Wu Zhangjin; +Cc: linux-mips

On Wed, Nov 11, 2009 at 09:28:28PM +0800, Wu Zhangjin wrote:

> (Hi, Ralf, Could you please fold it into "MIPS: Lemote-2f: Add PCI
>  support"?)
> 
> This patch fixes the following warning:
> 
> arch/mips/pci/fixup-lemote2f.c:115: warning: unused variable 'val'

Done!  Thanks,

  Ralf

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

end of thread, other threads:[~2009-11-11 13:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-11 13:28 [PATCH -queue] [loongson] arch/mips/pci/fixup-lemote2f.c: Remove unused variable Wu Zhangjin
2009-11-11 13:32 ` Ralf Baechle

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.