Message ID | 1415260327-30465-1-git-send-email-pang.xunlei@linaro.org |
---|---|
State | Accepted |
Commit | 74e6942fbc7f52320c2fc900a9a6b0a315927915 |
Headers | show
Return-Path: <patchwork-forward+bncBDP5TRNE3AARBIGS5SRAKGQEGRCSPUI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f72.google.com (mail-ee0-f72.google.com [74.125.83.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7ED16240B2 for <linaro@patches.linaro.org>; Thu, 6 Nov 2014 07:54:09 +0000 (UTC) Received: by mail-ee0-f72.google.com with SMTP id d17sf1787739eek.3 for <linaro@patches.linaro.org>; Wed, 05 Nov 2014 23:54:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=daVTDfnugDlbdF7MOpwjkNDQ0mN7yw0srsCgGIpZvXg=; b=WGtwRg5p2qe8CdnH/UvbOZ+i69EaEOwWpxEjt/Pl4N3/iWMYuJkEm6WHdodpoAoOIj MxqD8yI5wgtbiTXsyI8Ul9GanMhNA6S/PkIQDiTjP9yNBBMjdYm4/ZAhwFY7NmjLsQqo py+NHyImgpBVUt0crXermAVei7/xlduyX1Gtn3/503z+/1O/X4vZPfydpmXfcqjy5MSH OqnyC+ipIkmpbEWyufttJlLL1UP9Wb6JtWAwcs/ntqSr1qJwCr9/XEb6BOjxsz8Dg1mJ i5bXUz07nVMGb5ppOLAqAwOcSzv81yt6ZBTGnA6xBoKYHKIeCz4EO2drOgqSay5IIFLu E3dw== X-Gm-Message-State: ALoCoQlzDSGekM10ueAcs+0X7LjYf8Dc3X/NDmthPdX+iBAAKxTh7EQFxJ3yoGB2uW7CdqufSR7Z X-Received: by 10.112.97.35 with SMTP id dx3mr631lbb.20.1415260448664; Wed, 05 Nov 2014 23:54:08 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.227 with SMTP id e3ls46769laa.69.gmail; Wed, 05 Nov 2014 23:54:08 -0800 (PST) X-Received: by 10.152.21.199 with SMTP id x7mr3035108lae.66.1415260448490; Wed, 05 Nov 2014 23:54:08 -0800 (PST) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id b19si10085709lbq.121.2014.11.05.23.54.08 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Nov 2014 23:54:08 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by mail-la0-f45.google.com with SMTP id pn19so2108394lab.4 for <patchwork-forward@linaro.org>; Wed, 05 Nov 2014 23:54:08 -0800 (PST) X-Received: by 10.152.42.226 with SMTP id r2mr2964234lal.29.1415260448394; Wed, 05 Nov 2014 23:54:08 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp8643lbc; Wed, 5 Nov 2014 23:54:07 -0800 (PST) X-Received: by 10.70.100.199 with SMTP id fa7mr2782333pdb.114.1415260446656; Wed, 05 Nov 2014 23:54:06 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z6si5293368pdo.4.2014.11.05.23.54.06 for <multiple recipients>; Wed, 05 Nov 2014 23:54:06 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751494AbaKFHwy (ORCPT <rfc822;hongbo.zhang@linaro.org> + 25 others); Thu, 6 Nov 2014 02:52:54 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:64086 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751263AbaKFHww (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 6 Nov 2014 02:52:52 -0500 Received: by mail-pa0-f41.google.com with SMTP id rd3so755430pab.14 for <linux-kernel@vger.kernel.org>; Wed, 05 Nov 2014 23:52:52 -0800 (PST) X-Received: by 10.66.188.167 with SMTP id gb7mr2661002pac.23.1415260371916; Wed, 05 Nov 2014 23:52:51 -0800 (PST) Received: from wangdeqiang.com ([210.21.223.3]) by mx.google.com with ESMTPSA id yc4sm5168431pab.27.2014.11.05.23.52.48 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Nov 2014 23:52:51 -0800 (PST) From: "pang.xunlei" <pang.xunlei@linaro.org> To: linux-kernel@vger.kernel.org Cc: Peter Zijlstra <peterz@infradead.org>, Steven Rostedt <rostedt@goodmis.org>, Juri Lelli <juri.lelli@gmail.com>, "pang.xunlei" <pang.xunlei@linaro.org> Subject: [PATCH v4 1/7] sched/cpupri: Remove unnecessary definitions in cpupri.h Date: Thu, 6 Nov 2014 15:52:01 +0800 Message-Id: <1415260327-30465-1-git-send-email-pang.xunlei@linaro.org> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: pang.xunlei@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/kernel/sched/cpupri.h b/kernel/sched/cpupri.h index 6b03334..63cbb9c 100644 --- a/kernel/sched/cpupri.h +++ b/kernel/sched/cpupri.h @@ -26,9 +26,6 @@ int cpupri_find(struct cpupri *cp, void cpupri_set(struct cpupri *cp, int cpu, int pri); int cpupri_init(struct cpupri *cp); void cpupri_cleanup(struct cpupri *cp); -#else -#define cpupri_set(cp, cpu, pri) do { } while (0) -#define cpupri_init() do { } while (0) #endif #endif /* _LINUX_CPUPRI_H */
Actually, cpupri_set() and cpupri_init() can never be used without CONFIG_SMP. Signed-off-by: pang.xunlei <pang.xunlei@linaro.org> --- kernel/sched/cpupri.h | 3 --- 1 file changed, 3 deletions(-)