]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - arch/alpha/kernel/pci-sysfs.c
alpha: remove unnecessary cast from void* in assignment.
[net-next-2.6.git] / arch / alpha / kernel / pci-sysfs.c
index 738fc824e2ea373f85b3ae04fb7eb1346ecacdac..b899e95f79fdb424ea9b07d31153edb0e824ac8e 100644 (file)
@@ -66,7 +66,7 @@ static int pci_mmap_resource(struct kobject *kobj,
 {
        struct pci_dev *pdev = to_pci_dev(container_of(kobj,
                                                       struct device, kobj));
-       struct resource *res = (struct resource *)attr->private;
+       struct resource *res = attr->private;
        enum pci_mmap_state mmap_type;
        struct pci_bus_region bar;
        int i;