]> err.no Git - linux-2.6/commitdiff
i2c-nforce2: Drop unused reference to pci_dev
authorJean Delvare <khali@linux-fr.org>
Tue, 13 Feb 2007 21:08:58 +0000 (22:08 +0100)
committerJean Delvare <khali@arrakis.delvare>
Tue, 13 Feb 2007 21:08:58 +0000 (22:08 +0100)
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Hans-Frieder Vogt <hfvogt@gmx.net>
drivers/i2c/busses/i2c-nforce2.c

index ad37c10e7fec38aaea6e2103647f5c0ca895e5ab..69d073049e14382ea99668dd05431ce5c1a62ee1 100644 (file)
@@ -57,7 +57,6 @@ MODULE_DESCRIPTION("nForce2/3/4/5xx SMBus driver");
 
 
 struct nforce2_smbus {
-       struct pci_dev *dev;
        struct i2c_adapter adapter;
        int base;
        int size;
@@ -230,7 +229,6 @@ static int __devinit nforce2_probe_smb (struct pci_dev *dev, int bar,
                smbus->base = iobase & PCI_BASE_ADDRESS_IO_MASK;
                smbus->size = 64;
        }
-       smbus->dev = dev;
 
        if (!request_region(smbus->base, smbus->size, nforce2_driver.name)) {
                dev_err(&smbus->adapter.dev, "Error requesting region %02x .. %02X for %s\n",