Commit af96f8a340525f24abecc25848a07fff7636a53e
Committed by
Matt Turner
1 parent
31019075f4
Exists in
master
and in
7 other branches
alpha: remove unnecessary cast from void* in assignment.
Acked-by: Jan-Benedict Glaw <jbglaw@lug-owl.de> Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Matt Turner <mattst88@gmail.com>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
arch/alpha/kernel/pci-sysfs.c
... | ... | @@ -66,7 +66,7 @@ |
66 | 66 | { |
67 | 67 | struct pci_dev *pdev = to_pci_dev(container_of(kobj, |
68 | 68 | struct device, kobj)); |
69 | - struct resource *res = (struct resource *)attr->private; | |
69 | + struct resource *res = attr->private; | |
70 | 70 | enum pci_mmap_state mmap_type; |
71 | 71 | struct pci_bus_region bar; |
72 | 72 | int i; |