powerpc: remove cast from void*
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>
This commit is contained in:
parent
8d81496123
commit
6d2ad1e318
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue