Skip to content

Commit

Permalink
Blackfin: SMP: drop unused blackfin_cpudata.idle pointer
Browse files Browse the repository at this point in the history
Not sure when we stopped using this field, but nothing in the tree uses
this now, so punt it.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  • Loading branch information
Mike Frysinger committed May 25, 2011
1 parent 44491fb commit 2951acb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions arch/blackfin/include/asm/cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@

#include <linux/percpu.h>

struct task_struct;

struct blackfin_cpudata {
struct cpu cpu;
struct task_struct *idle;
unsigned int imemctl;
unsigned int dmemctl;
};
Expand Down
1 change: 0 additions & 1 deletion arch/blackfin/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ void __cpuinit bfin_setup_cpudata(unsigned int cpu)
{
struct blackfin_cpudata *cpudata = &per_cpu(cpu_data, cpu);

cpudata->idle = current;
cpudata->imemctl = bfin_read_IMEM_CONTROL();
cpudata->dmemctl = bfin_read_DMEM_CONTROL();
}
Expand Down

0 comments on commit 2951acb

Please sign in to comment.