projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d81496
)
powerpc: remove cast from void*
author
matt mooney
<mfm@muteddisk.com>
Tue, 28 Sep 2010 02:04:44 +0000
(19:04 -0700)
committer
Jiri Kosina
<jkosina@suse.cz>
Wed, 3 Nov 2010 14:23:26 +0000
(10:23 -0400)
Unnecessary cast from void* in assignment.
Signed-off-by: matt mooney <mfm@muteddisk.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
arch/powerpc/platforms/pseries/hvCall_inst.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/platforms/pseries/hvCall_inst.c
b/arch/powerpc/platforms/pseries/hvCall_inst.c
index e19ff021e7111508580b5f6746d43d93e275fbf7..f106662f4381e23384082ffe65534e6f7cafaa91 100644
(file)
--- a/
arch/powerpc/platforms/pseries/hvCall_inst.c
+++ b/
arch/powerpc/platforms/pseries/hvCall_inst.c
@@
-55,7
+55,7
@@
static void hc_stop(struct seq_file *m, void *p)
static int hc_show(struct seq_file *m, void *p)
{
unsigned long h_num = (unsigned long)p;
- struct hcall_stats *hs =
(struct hcall_stats *)
m->private;
+ struct hcall_stats *hs = m->private;
if (hs[h_num].num_calls) {
if (cpu_has_feature(CPU_FTR_PURR))