提交 6d2ad1e3 编写于 作者: M matt mooney 提交者: Jiri Kosina

powerpc: remove cast from void*

Unnecessary cast from void* in assignment.
Signed-off-by: Nmatt mooney <mfm@muteddisk.com>
Acked-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 8d814961
...@@ -55,7 +55,7 @@ static void hc_stop(struct seq_file *m, void *p) ...@@ -55,7 +55,7 @@ static void hc_stop(struct seq_file *m, void *p)
static int hc_show(struct seq_file *m, void *p) static int hc_show(struct seq_file *m, void *p)
{ {
unsigned long h_num = (unsigned long)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 (hs[h_num].num_calls) {
if (cpu_has_feature(CPU_FTR_PURR)) if (cpu_has_feature(CPU_FTR_PURR))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册