From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Lord Subject: Re: [PATCH] drivers/ata/ahci.c, kernel 2.6.23.10 Date: Sat, 15 Dec 2007 11:45:49 -0500 Message-ID: <476404BD.5090801@rtr.ca> References: <4763F336.7050206@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from rtr.ca ([76.10.145.34]:4115 "EHLO mail.rtr.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754009AbXLOQpw (ORCPT ); Sat, 15 Dec 2007 11:45:52 -0500 In-Reply-To: <4763F336.7050206@googlemail.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: =?ISO-8859-1?Q?Michael_K=FChn?= Cc: linux-ide@vger.kernel.org, torvalds@linux-foundation.org Michael K=FChn wrote: > This patch remove a unused variable in the ahci_port_intr function an= d > therewith a compiler warning. >=20 > Signed-off-by: Michael K=FChn >=20 >=20 > --- linux-2.6.23.10/drivers/ata/ahci.c 2007-12-14 19:01:59.000000000= +0100 > +++ linux-2.6.23.10.new/drivers/ata/ahci.c 2007-12-15 > 01:03:41.000000000 +0100 > @@ -1430,7 +1430,6 @@ > { > void __iomem *port_mmio =3D ap->ioaddr.cmd_addr; > struct ata_eh_info *ehi =3D &ap->eh_info; > - struct ahci_port_priv *pp =3D ap->private_data; > u32 status, qc_active; > int rc; =2E. Mmmm.. seems to not be applicable to current 2.6.24-rc*, as the "pp" variable *is* used in that function there. =46or older kernels, only serious bugs warrant an update. Cheers