linux-mips
[Top] [All Lists]

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

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH -queue] [loongson] arch/mips/pci/fixup-lemote2f.c: Remove unused variable
From: Wu Zhangjin <wuzhangjin@gmail.com>
Date: Wed, 11 Nov 2009 21:28:28 +0800
Cc: linux-mips@linux-mips.org, Wu Zhangjin <wuzhangjin@gmail.com>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=96R8JtDwqURPufR3tnH5DCGmpXwIJlj1Qw5rRyI+JnA=; b=UFRuMhAZp4ePRxkxB9HfwYkdRpvU9Y4/Ltg/cFriWSiO+zYx9MllVUCoLjRiTwaYth MRaqeslm5PQhpkWzIYhMKzRUHXKvXc4VEnKjxZqeo7g0pZikuScNVkRi1//m5Mjkox9j +/xc/GIl+rltUCiQaqOK5eiy5LwZ3Uvhg7ggo=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=f/4To7UzCu6lpYkV5dR4jaiB+WCGDIZlkHw7ddYZet8TsShYFmPUCrKpOa5WQI34CM 9JzAwDXgkK+MZwxBWoIFRKUm8UQseFtUttye3ahcBnI6veMEvp9Mszx/r/vQIb2aSPGd CEFCDXNvf6XRm2RnB+SFoLf/+HyQA0rFHxu9M=
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
(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


<Prev in Thread] Current Thread [Next in Thread>