Remove unnecessary check for 0.

Signed-off-by: "Saheed O. Bolarinwa" <refactormys...@gmail.com>
---
This patch depends on 34/35

 arch/alpha/kernel/sys_miata.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/alpha/kernel/sys_miata.c b/arch/alpha/kernel/sys_miata.c
index 1b4c03ac34d8..539f803c1614 100644
--- a/arch/alpha/kernel/sys_miata.c
+++ b/arch/alpha/kernel/sys_miata.c
@@ -185,7 +185,7 @@ miata_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)
        if((slot == 7) && (PCI_FUNC(dev->devfn) == 3)) {
                u8 irq=0;
                struct pci_dev *pdev = pci_get_slot(dev->bus, dev->devfn & ~7);
-               if (pdev == NULL || pci_read_config_byte(pdev, 0x40, &irq) != 
0) {
+               if (pdev == NULL || pci_read_config_byte(pdev, 0x40, &irq)) {
                        pci_dev_put(pdev);
                        return -1;
                }
-- 
2.18.2

Reply via email to