Message ID | 1415260327-30465-4-git-send-email-pang.xunlei@linaro.org |
---|---|
State | Accepted |
Commit | c1a2b5f6293caa14804adca1840eeea1e8f6b322 |
Headers | show
Return-Path: <patchwork-forward+bncBDP5TRNE3AARBK6S5SRAKGQEHEDTSFA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D2911240B2 for <linaro@patches.linaro.org>; Thu, 6 Nov 2014 07:54:19 +0000 (UTC) Received: by mail-wg0-f72.google.com with SMTP id k14sf280838wgh.3 for <linaro@patches.linaro.org>; Wed, 05 Nov 2014 23:54:19 -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:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=tv5q49ydL096dyWStK/Qmz5/mZANsM3kMkCqPTcGnWI=; b=TsUKaVprzNjxggZ3JrthdDjXZZUFPQsz6PNahwJRCIR7ArBd0eTQCpsiNTndPXq5qq 2t6lrNGb1qPXXrYXuhytWwVWtSfEvF44TUxQf4LYrqKoN9rUvVmvjHYC0v4OXLO/uFCy Mf13bpyBra9/rIDVas13iAy90fO4UTdrkkJ2zyK4lpDZpFKyJ+L+TaSFog1B6dXxwE4C YNLawcrFhpzyH1rhcNSzln0+njSlNbFDJLzkrCVGmsHNkCEsff5lPR7kZ7RbNKYsD9pF Bm/F+xlM8OnqaDhizr8O/pf4xkGuuAn1ImoqGcNAJuUfybzgbHHvt5lQA7OAEvqWWukR emsw== X-Gm-Message-State: ALoCoQlBqWvrBBKNVfNacx1HEUsJGioMgT05C+SgLQMgstrc83U5iOwTFRuNPDrw7RR1N1Dvl9Sk X-Received: by 10.194.133.40 with SMTP id oz8mr434521wjb.2.1415260459173; Wed, 05 Nov 2014 23:54:19 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.227 with SMTP id v3ls45602lav.91.gmail; Wed, 05 Nov 2014 23:54:18 -0800 (PST) X-Received: by 10.112.201.201 with SMTP id kc9mr3113410lbc.76.1415260458862; Wed, 05 Nov 2014 23:54:18 -0800 (PST) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id b8si10353199lbc.7.2014.11.05.23.54.18 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Nov 2014 23:54:18 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by mail-la0-f52.google.com with SMTP id pv20so2155867lab.11 for <patchwork-forward@linaro.org>; Wed, 05 Nov 2014 23:54:18 -0800 (PST) X-Received: by 10.112.189.10 with SMTP id ge10mr2955491lbc.23.1415260458786; Wed, 05 Nov 2014 23:54:18 -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 ew9csp8662lbc; Wed, 5 Nov 2014 23:54:17 -0800 (PST) X-Received: by 10.66.170.14 with SMTP id ai14mr2767079pac.136.1415260454074; Wed, 05 Nov 2014 23:54:14 -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.13 for <multiple recipients>; Wed, 05 Nov 2014 23:54:14 -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 S1751892AbaKFHyE (ORCPT <rfc822;hongbo.zhang@linaro.org> + 25 others); Thu, 6 Nov 2014 02:54:04 -0500 Received: from mail-pd0-f169.google.com ([209.85.192.169]:50921 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751579AbaKFHxE (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 6 Nov 2014 02:53:04 -0500 Received: by mail-pd0-f169.google.com with SMTP id y10so657193pdj.28 for <linux-kernel@vger.kernel.org>; Wed, 05 Nov 2014 23:53:03 -0800 (PST) X-Received: by 10.66.170.14 with SMTP id ai14mr2762028pac.136.1415260383722; Wed, 05 Nov 2014 23:53:03 -0800 (PST) Received: from wangdeqiang.com ([210.21.223.3]) by mx.google.com with ESMTPSA id yc4sm5168431pab.27.2014.11.05.23.53.00 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Nov 2014 23:53:03 -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 4/7] sched/deadline: Remove unnecessary definitions in cpudeadline.h Date: Thu, 6 Nov 2014 15:52:04 +0800 Message-Id: <1415260327-30465-4-git-send-email-pang.xunlei@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1415260327-30465-1-git-send-email-pang.xunlei@linaro.org> References: <1415260327-30465-1-git-send-email-pang.xunlei@linaro.org> 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.52 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/cpudeadline.h b/kernel/sched/cpudeadline.h index 538c979..020039b 100644 --- a/kernel/sched/cpudeadline.h +++ b/kernel/sched/cpudeadline.h @@ -25,9 +25,6 @@ int cpudl_find(struct cpudl *cp, struct task_struct *p, void cpudl_set(struct cpudl *cp, int cpu, u64 dl, int is_valid); int cpudl_init(struct cpudl *cp); void cpudl_cleanup(struct cpudl *cp); -#else -#define cpudl_set(cp, cpu, dl) do { } while (0) -#define cpudl_init() do { } while (0) #endif /* CONFIG_SMP */ #endif /* _LINUX_CPUDL_H */
Actually, cpudl_set() and cpudl_init() can never be used without CONFIG_SMP. Signed-off-by: pang.xunlei <pang.xunlei@linaro.org> --- kernel/sched/cpudeadline.h | 3 --- 1 file changed, 3 deletions(-)