]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
i2c-nforce2: Remove unnecessary cast of pci_get_drvdata
authorJoe Perches <joe@perches.com>
Mon, 10 Jan 2011 21:11:22 +0000 (22:11 +0100)
committerJean Delvare <khali@endymion.delvare>
Mon, 10 Jan 2011 21:11:22 +0000 (22:11 +0100)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-nforce2.c

index a605a5029cfee06a085ef7150aad0da341dcc46a..ff1e127dfea8e9b100c9fa1f6e2ebfd54c6992a6 100644 (file)
@@ -432,7 +432,7 @@ static int __devinit nforce2_probe(struct pci_dev *dev, const struct pci_device_
 
 static void __devexit nforce2_remove(struct pci_dev *dev)
 {
-       struct nforce2_smbus *smbuses = (void*) pci_get_drvdata(dev);
+       struct nforce2_smbus *smbuses = pci_get_drvdata(dev);
 
        nforce2_set_reference(NULL);
        if (smbuses[0].base) {