projects
/
profile
/
ivi
/
kernel-x86-ivi.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
|
history
diff --git
a/arch/powerpc/platforms/pseries/hvCall_inst.c
b/arch/powerpc/platforms/pseries/hvCall_inst.c
index
e19ff02
..
f106662
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))