Message ID | 1415202506-7800-6-git-send-email-pang.xunlei@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBDP5TRNE3AARBBEO5GRAKGQECZHJDCI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 86A902404A for <linaro@patches.linaro.org>; Wed, 5 Nov 2014 15:49:25 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id x13sf656575wgg.5 for <linaro@patches.linaro.org>; Wed, 05 Nov 2014 07:49:24 -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=eotpWC8YyAMRZP6TDqFUs5r3g86HFM8hypJcQsk6wnI=; b=cv2syoU7d1BRPV44Y94rqKv3hiLmKQO/hTd/iyYdvxfNXk0+M99YlYz39TQqrXkKGn Mq7QFgKB9JueH0XrkW0hvMbDgu0NZFV2LXk04VzjOBiZ3krjVOEqbSUPP7kEc//xI9S1 oa97lydgrizQ3AoNw+msRWWYjZa8Lfza80j4xUwMuxdWh3S9hzEfbulWqv1QlsMyPOTP iErrJK557IQH/meN5OqHFQ0Cgs4qqReKCEofURHADMmKyrXVus2HjuSicWLF01xQk2S6 11had64Col8bOIiK8tUxx412KVgK+GjmmYV+lMMNH2rRifOUbfSjX2faSGVJ6NuzFchU rVtg== X-Gm-Message-State: ALoCoQkXqdUtuVk6fZXZIsrSOfWKtQfQFkDs/0USFcLNGU83kZlqcq5axYpcW2KJfxQs1ZAoTffL X-Received: by 10.180.19.226 with SMTP id i2mr5526563wie.5.1415202564746; Wed, 05 Nov 2014 07:49:24 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.134 with SMTP id s6ls874389las.27.gmail; Wed, 05 Nov 2014 07:49:24 -0800 (PST) X-Received: by 10.152.216.167 with SMTP id or7mr30421168lac.93.1415202564169; Wed, 05 Nov 2014 07:49:24 -0800 (PST) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id at1si6963932lbc.2.2014.11.05.07.49.24 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 05 Nov 2014 07:49:24 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by mail-la0-f53.google.com with SMTP id mc6so888116lab.40 for <patchwork-forward@linaro.org>; Wed, 05 Nov 2014 07:49:24 -0800 (PST) X-Received: by 10.152.116.102 with SMTP id jv6mr68938663lab.40.1415202564078; Wed, 05 Nov 2014 07:49:24 -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 ew9csp303368lbc; Wed, 5 Nov 2014 07:49:23 -0800 (PST) X-Received: by 10.70.11.227 with SMTP id t3mr11305333pdb.4.1415202561563; Wed, 05 Nov 2014 07:49:21 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1si3251777pat.227.2014.11.05.07.49.20 for <multiple recipients>; Wed, 05 Nov 2014 07:49:21 -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 S1755540AbaKEPtP (ORCPT <rfc822;hongbo.zhang@linaro.org> + 25 others); Wed, 5 Nov 2014 10:49:15 -0500 Received: from mail-pd0-f169.google.com ([209.85.192.169]:33909 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755183AbaKEPtL (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 5 Nov 2014 10:49:11 -0500 Received: by mail-pd0-f169.google.com with SMTP id y10so992295pdj.0 for <linux-kernel@vger.kernel.org>; Wed, 05 Nov 2014 07:49:10 -0800 (PST) X-Received: by 10.67.12.236 with SMTP id et12mr54092126pad.31.1415202550824; Wed, 05 Nov 2014 07:49:10 -0800 (PST) Received: from vptest-PC.zte.com.cn ([167.160.116.59]) by mx.google.com with ESMTPSA id e9sm3517098pdp.59.2014.11.05.07.49.06 for <multiple recipients> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Nov 2014 07:49:10 -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 v3 6/7] sched/deadline: Remove unnecessary definitions in cpudeadline.h Date: Wed, 5 Nov 2014 23:48:25 +0800 Message-Id: <1415202506-7800-6-git-send-email-pang.xunlei@linaro.org> X-Mailer: git-send-email 2.0.4 In-Reply-To: <1415202506-7800-1-git-send-email-pang.xunlei@linaro.org> References: <1415202506-7800-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.53 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 0c9636e..dfdf594 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(-)