diff --git a/kernel/sched/cpupri.c b/kernel/sched/cpupri.c index 981fcd7dc394eb10dd26113c66815dd0aa8e6a46..2511aba36b89e5e6581d3b9f0c33257a3c09a394 100644 --- a/kernel/sched/cpupri.c +++ b/kernel/sched/cpupri.c @@ -209,8 +209,6 @@ int cpupri_init(struct cpupri *cp) { int i; - memset(cp, 0, sizeof(*cp)); - for (i = 0; i < CPUPRI_NR_PRIORITIES; i++) { struct cpupri_vec *vec = &cp->pri_to_cpu[i];