powerpc: remove cast from void*
authormatt mooney <mfm@muteddisk.com>
Tue, 28 Sep 2010 02:04:44 +0000 (19:04 -0700)
committerJiri 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

index e19ff021e7111508580b5f6746d43d93e275fbf7..f106662f4381e23384082ffe65534e6f7cafaa91 100644 (file)
@@ -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))