]> git.hungrycats.org Git - linux/commitdiff
[PATCH] remove unused ide_hwif_t->pnp_dev
authorBartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl>
Sat, 27 Mar 2004 11:13:30 +0000 (03:13 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 27 Mar 2004 11:13:30 +0000 (03:13 -0800)
drivers/ide/ide-pnp.c
include/linux/ide.h

index 40869d99c9bedfd8f8bb62c377e2e1c53a7c8259..5b5db478123a73b08af9cf989af763b88d916dc7 100644 (file)
@@ -64,7 +64,6 @@ static int idepnp_probe(struct pnp_dev * dev, const struct pnp_device_id *dev_id
        if (index != -1) {
                printk(KERN_INFO "ide%d: generic PnP IDE interface\n", index);
                pnp_set_drvdata(dev,hwif);
-               hwif->pnp_dev = dev;
                return 0;
        }
 
index abc2bf38be84e439c8cf5f3d1e5f27b458fa9278..731a6d169bde2505ace56634b07022bd18e57983 100644 (file)
@@ -849,8 +849,6 @@ typedef struct hwif_s {
 
        struct pci_dev  *pci_dev;       /* for pci chipsets */
        struct ide_pci_device_s *cds;   /* chipset device struct */
-       
-       struct pnp_dev  *pnp_dev;       /* for PnP devices */
 
        ide_startstop_t (*rw_disk)(ide_drive_t *, struct request *, sector_t);