From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760229AbXEKGqQ (ORCPT ); Fri, 11 May 2007 02:46:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754888AbXEKGqG (ORCPT ); Fri, 11 May 2007 02:46:06 -0400 Received: from pythia.bakeyournoodle.com ([203.82.209.197]:59636 "EHLO pythia.bakeyournoodle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754642AbXEKGqF (ORCPT ); Fri, 11 May 2007 02:46:05 -0400 Date: Fri, 11 May 2007 16:46:03 +1000 To: Linux Kernel ML Cc: Jeff Garzik , Alan Cox , linux-ide@vger.kernel.org Subject: [PATCH] drivers/ata/pata_hpt37x.c Remove unused static variable. Message-ID: <20070511064603.GC15955@bakeyournoodle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) From: tony@bakeyournoodle.com (Tony Breeds) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Remove unused static variable. drivers/ata/pata_hpt37x.c: In function 'hpt37x_init_one': drivers/ata/pata_hpt37x.c:935: warning: unused variable 'info_hpt372_50' Signed-off-by: Tony Breeds CC: Jeff Garzik CC: Alan Cox CC: linux-ide@vger.kernel.org --- drivers/ata/pata_hpt37x.c | 9 --------- 1 file changed, 9 deletions(-) Index: working/drivers/ata/pata_hpt37x.c =================================================================== --- working.orig/drivers/ata/pata_hpt37x.c +++ working/drivers/ata/pata_hpt37x.c @@ -931,15 +931,6 @@ static int hpt37x_init_one(struct pci_de .udma_mask = 0x7f, .port_ops = &hpt372_port_ops }; - /* HPT371, 372 and friends - UDMA100 at 50MHz clock */ - static struct ata_port_info info_hpt372_50 = { - .sht = &hpt37x_sht, - .flags = ATA_FLAG_SLAVE_POSS|ATA_FLAG_SRST, - .pio_mask = 0x1f, - .mwdma_mask = 0x07, - .udma_mask = 0x3f, - .port_ops = &hpt372_port_ops - }; /* HPT374 - UDMA133 */ static struct ata_port_info info_hpt374 = { .sht = &hpt37x_sht, Yours Tony linux.conf.au http://linux.conf.au/ || http://lca2008.linux.org.au/ Jan 28 - Feb 02 2008 The Australian Linux Technical Conference!