From 9a124ef5cfe9d2b59f99fef1c68e9218f7055ca1 Mon Sep 17 00:00:00 2001 From: Bartlomiej Zolnierkiewicz Date: Sat, 27 Mar 2004 03:13:30 -0800 Subject: [PATCH] [PATCH] remove unused ide_hwif_t->pnp_dev --- drivers/ide/ide-pnp.c | 1 - include/linux/ide.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/ide/ide-pnp.c b/drivers/ide/ide-pnp.c index 40869d99c9bed..5b5db478123a7 100644 --- a/drivers/ide/ide-pnp.c +++ b/drivers/ide/ide-pnp.c @@ -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; } diff --git a/include/linux/ide.h b/include/linux/ide.h index abc2bf38be84e..731a6d169bde2 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h @@ -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); -- 2.53.0