projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
852972a
)
PCI: pci-sysfs: remove casts from void*
author
Kulikov Vasiliy
<segooon@gmail.com>
Tue, 29 Jun 2010 10:15:28 +0000
(14:15 +0400)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Fri, 30 Jul 2010 16:29:18 +0000
(09:29 -0700)
Remove unnesessary casts from void*.
Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/pci-sysfs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/pci-sysfs.c
b/drivers/pci/pci-sysfs.c
index c9957f68ac9bd574964271b363012aa62c8c8bc3..5935b854917f09b5a96d3016ab84992e33506117 100644
(file)
--- a/
drivers/pci/pci-sysfs.c
+++ b/
drivers/pci/pci-sysfs.c
@@
-734,7
+734,7
@@
pci_mmap_resource(struct kobject *kobj, struct bin_attribute *attr,
{
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;
resource_size_t start, end;
int i;