Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754891AbZASOO6 (ORCPT ); Mon, 19 Jan 2009 09:14:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753281AbZASON2 (ORCPT ); Mon, 19 Jan 2009 09:13:28 -0500 Received: from mail-bw0-f21.google.com ([209.85.218.21]:36546 "EHLO mail-bw0-f21.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753030AbZASON0 (ORCPT ); Mon, 19 Jan 2009 09:13:26 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:date:message-id:in-reply-to:references:subject; b=bBicHOMjH8uAG6xTVZhkOLAvKh2HcQJOjzXpdw/WIcpUA5tRc/VGK7vjZCAiqFdHuR 9TlF7RUA7ffHUaWNS+Azn8aismuFWQ7uxBN3nrKS2KaXh91nypBJLnIWWQTAWv0tVOuU dbeY7/S/lI6FjdTaD7rcXcLiDdkPezA2bJa4w= From: Bartlomiej Zolnierkiewicz To: linux-ide@vger.kernel.org Cc: Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org Date: Mon, 19 Jan 2009 15:13:50 +0100 Message-Id: <20090119141350.27613.31866.sendpatchset@localhost.localdomain> In-Reply-To: <20090119141330.27613.34546.sendpatchset@localhost.localdomain> References: <20090119141330.27613.34546.sendpatchset@localhost.localdomain> Subject: [PATCH 03/12] ns87415: small ->init_hwif cleanup Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1059 Lines: 30 From: Bartlomiej Zolnierkiewicz Subject: [PATCH] ns87415: small ->init_hwif cleanup Core IDE PCI code takes care of assigning hwif->irq for both ports. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz --- drivers/ide/ns87415.c | 2 -- 1 file changed, 2 deletions(-) Index: b/drivers/ide/ns87415.c =================================================================== --- a/drivers/ide/ns87415.c +++ b/drivers/ide/ns87415.c @@ -287,8 +287,6 @@ static void __devinit init_hwif_ns87415 if (!using_inta) hwif->irq = pci_get_legacy_ide_irq(dev, hwif->channel); - else if (!hwif->irq && hwif->mate && hwif->mate->irq) - hwif->irq = hwif->mate->irq; /* share IRQ with mate */ if (!hwif->dma_base) return; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/