lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Fri, 11 May 2007 16:46:03 +1000
From:	tony@...eyournoodle.com (Tony Breeds)
To:	Linux Kernel ML <linux-kernel@...r.kernel.org>
Cc:	Jeff Garzik <jgarzik@...ox.com>, Alan Cox <alan@...hat.com>,
	linux-ide@...r.kernel.org
Subject: [PATCH] drivers/ata/pata_hpt37x.c Remove unused static variable.


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 <tony@...eyournoodle.com>
CC: Jeff Garzik <jgarzik@...ox.com>
CC: Alan Cox <alan@...hat.com>
CC: linux-ide@...r.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!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ