From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bartlomiej Zolnierkiewicz Subject: Re: [PATCH] pdc2026x: remove surplus initialiser Date: Tue, 22 Jan 2008 00:13:29 +0100 Message-ID: <200801220013.29341.bzolnier@gmail.com> References: <20080119155525.0d361552@lxorguk.ukuu.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from ug-out-1314.google.com ([66.249.92.168]:19020 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755409AbYAUXBI (ORCPT ); Mon, 21 Jan 2008 18:01:08 -0500 Received: by ug-out-1314.google.com with SMTP id z38so973152ugc.16 for ; Mon, 21 Jan 2008 15:01:06 -0800 (PST) In-Reply-To: <20080119155525.0d361552@lxorguk.ukuu.org.uk> Content-Disposition: inline Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Alan Cox Cc: linux-ide@vger.kernel.org On Saturday 19 January 2008, Alan Cox wrote: > > Signed-off-by: Alan Cox applied with: - s/pdc2026x/pdc202xx_old/ in patch summary - drive-by CodingStyle fixups > diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.24-rc8-mm1/drivers/ide/pci/pdc202xx_old.c linux-2.6.24-rc8-mm1/drivers/ide/pci/pdc202xx_old.c > --- linux.vanilla-2.6.24-rc8-mm1/drivers/ide/pci/pdc202xx_old.c 2008-01-19 14:47:56.000000000 +0000 > +++ linux-2.6.24-rc8-mm1/drivers/ide/pci/pdc202xx_old.c 2008-01-19 15:00:08.000000000 +0000 > @@ -138,7 +138,7 @@ > static u8 __devinit pdc2026x_old_cable_detect(ide_hwif_t *hwif) > { > struct pci_dev *dev = to_pci_dev(hwif->dev); > - u16 CIS = 0, mask = (hwif->channel) ? (1<<11) : (1<<10); > + u16 CIS, mask = (hwif->channel) ? (1<<11) : (1<<10); > > pci_read_config_word(dev, 0x50, &CIS);