[PATCH -queue] [loongson] arch/mips/pci/fixup-lemote2f.c: Remove unused variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(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@xxxxxxxxx>
---
 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



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux