From: Yao Dongdong Date: Mon, 29 Dec 2014 06:41:43 +0000 (+0800) Subject: sched/core: Remove check of p->sched_class X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~163^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1b537c7d1e58c761212a193085f9049b58f672e6;p=pandora-kernel.git sched/core: Remove check of p->sched_class Search all usage of p->sched_class in sched/core.c, no one check it before use, so it seems that every task must belong to one sched_class. Signed-off-by: Yao Dongdong [ Moved the early class assignment to make it boot. ] Signed-off-by: Peter Zijlstra (Intel) Cc: Linus Torvalds Link: http://lkml.kernel.org/r/1419835303-28958-1-git-send-email-yaodongdong@huawei.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed