Skip to contentSkip to conversation

powerpc: remove cast from void*

PATCH In review matt mooney 1 participant 1 message Sep 14, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 4/4 powerpc: remove cast from void*

Unnecessary cast from void* in assignment.

---
 arch/powerpc/platforms/pseries/hvCall_inst.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/powerpc/platforms/pseries/hvCall_inst.c +1 -1
index e19ff02..f106662 100644
@@ -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))
Signature · 1 line
1.7.2.1