sched/fair: Remove unused 'sd' parameter from select_idle_smt()
[linux-2.6-block.git] / kernel / sched / fair.c
index f44da9b491ffcdd7197eb4a9b1b851b388b2652b..8abd1c2714997efdda48762aaf0be5f4c6a7e77d 100644 (file)
@@ -6117,7 +6117,7 @@ static int select_idle_core(struct task_struct *p, struct sched_domain *sd, int
 /*
  * Scan the local SMT mask for idle CPUs.
  */
-static int select_idle_smt(struct task_struct *p, struct sched_domain *sd, int target)
+static int select_idle_smt(struct task_struct *p, int target)
 {
        int cpu;
 
@@ -6141,7 +6141,7 @@ static inline int select_idle_core(struct task_struct *p, struct sched_domain *s
        return -1;
 }
 
-static inline int select_idle_smt(struct task_struct *p, struct sched_domain *sd, int target)
+static inline int select_idle_smt(struct task_struct *p, int target)
 {
        return -1;
 }
@@ -6246,7 +6246,7 @@ static int select_idle_sibling(struct task_struct *p, int prev, int target)
        if ((unsigned)i < nr_cpumask_bits)
                return i;
 
-       i = select_idle_smt(p, sd, target);
+       i = select_idle_smt(p, target);
        if ((unsigned)i < nr_cpumask_bits)
                return i;