From patchwork Thu Feb 8 13:48:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 127668 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp1504027ljc; Thu, 8 Feb 2018 05:48:58 -0800 (PST) X-Google-Smtp-Source: AH8x226prgqk4psU+HKCnkGOpR/5LQIhL+94rjfYmFifo7X+uDyt+zcxsOrx3GYhzqubKP9xudnJ X-Received: by 2002:a17:902:598e:: with SMTP id p14-v6mr685602pli.439.1518097738048; Thu, 08 Feb 2018 05:48:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518097738; cv=none; d=google.com; s=arc-20160816; b=ke9obFKator4zRDUXbR0Gt7Z9cV8ruwYP7TRTGLC6UMOVSKIJ5rnPLhGU+lDa5//VN L77I/l8U6k0Ih0lC5V7S0A3wIgr88hZdol0Q2JegdiP0qz57mYaR28iZAslTvlR4XrCY dqliYL3dqEy1n2By6eU7HNDl5n5M8fDN/7JwOzk6juXNTY6HAv2fZ5DrnovVhgTMEgiw EvMb7bw4Pkdt9+SnXaM0J/5BIEFiOZssLRzlpsJWIkb/k5flQ+QW+xr9VCeGmDUfXvJ5 prOMrTGNanWk7+5GsnHsZoE651xCZIRktdDZuU/ZfUKaBTEPLs7Az13j1r8/paqvrYgW UW4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=YcpBvD7zHo0AaFNHkK+rOKDUN+A/365Fp9knmKYpsb0=; b=FHr1xelV0RPc0RJj5+mNvcwfNZCcnuTdoBaX8QvtAmIWlD5xE71ElIC3QS55bwgGxH FMn4H10ODjcMSU2op34xBLAlSPNYht8xIz/e5c1GgnpYWIS7u9KWx5uOSSc3psX5Mn23 7n8l4xqwLSMMje1v1LhGOBxDOl70DSNQLkslDjwSkE76xDd77uNm2Trfu1kv82RGNeiF DtZJOagytJ+sDFbAGG3xiD7P8O721RrJcGLXDXr+lxQuD6PAoBrxngqbBJXKgQSRFdKD uj7g4LXK2kFzdtHvZT1cDFX2XBZvEzde/lYV1urDt4vdGe93jYuDL99eyttAN9gcYi+S 8MaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R5scKBz3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p13si77128pgs.537.2018.02.08.05.48.57; Thu, 08 Feb 2018 05:48:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R5scKBz3; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752228AbeBHNsy (ORCPT + 10 others); Thu, 8 Feb 2018 08:48:54 -0500 Received: from mail-qt0-f195.google.com ([209.85.216.195]:46765 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751848AbeBHNsm (ORCPT ); Thu, 8 Feb 2018 08:48:42 -0500 Received: by mail-qt0-f195.google.com with SMTP id u6so5770087qtg.13 for ; Thu, 08 Feb 2018 05:48:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=YcpBvD7zHo0AaFNHkK+rOKDUN+A/365Fp9knmKYpsb0=; b=R5scKBz3zrVI+2LHu6RYt4ykKO7+ZU7CErnJ9B3NgS2bSPTnPPDZDqj/FdqrZaOU9h WYfRXJA8ItGxRfFaWrKaFGz4YjaPSecn6kpIvru4s2nhN7neQ6oVh56Qyap1TibCzgLM EByPiqH3cm9d65ViCfcVAMSmpb+N9Nfhb19Ms= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=YcpBvD7zHo0AaFNHkK+rOKDUN+A/365Fp9knmKYpsb0=; b=TpMD2tdemNC1XrxdF208z+/FoO85EIzrHtkbFAQr2QlERw+Yyui4n8ITbBzl+1OEJM F8da78eb2WGaLGHpGwnY+aSZl5VBeD0msUESR9zdlPxSh3enT0Y0dyRbBddGtLb9A6vW +XrPhVDvM38JpT5ZuRrvDrSW9e1aQQHUngNlgFHQVEjQfQucaeeCrl+I5SE7Zhv1DHq5 +gnoxGrt7TRVYuAaGMowmuey2/5zyLa3XGlN73Z7kGvTSmlozxY6ElZpQoQVrfmialSk czduqGFdVEre27meC9ZxNgizsUYSFCFsPVjzWRAfofjRclaLS2tqnlsouoWAdFIbDdWf QYAw== X-Gm-Message-State: APf1xPD7+Bws1vBDyTwjTRNAmc2G4TO8MvlJ0/kllhvOwoL8J5hBIqBM fjtwhhNkzDUMWebfctm5wQbyb3nLXnA= X-Received: by 10.200.55.182 with SMTP id d51mr1161364qtc.61.1518097721089; Thu, 08 Feb 2018 05:48:41 -0800 (PST) Received: from localhost.localdomain ([45.77.212.61]) by smtp.gmail.com with ESMTPSA id g57sm9447qtk.54.2018.02.08.05.48.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Feb 2018 05:48:39 -0800 (PST) From: Leo Yan To: linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , "Rafael J . Wysocki" Cc: Leo Yan , Vikram Mulukutla , Vincent Guittot , Daniel Lezcano Subject: [PATCH] sched/cpufreq: Remove unused macro SUGOV_KTHREAD_PRIORITY Date: Thu, 8 Feb 2018 21:48:22 +0800 Message-Id: <1518097702-9665-1-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since schedutil kernel thread directly set priority to 0, the macro SUGOV_KTHREAD_PRIORITY is not used. So remove it. Cc: Vikram Mulukutla Cc: Vincent Guittot Cc: Daniel Lezcano Signed-off-by: Leo Yan --- kernel/sched/cpufreq_schedutil.c | 2 -- 1 file changed, 2 deletions(-) -- 2.7.4 Acked-by: Viresh Kumar Acked-by: Daniel Lezcano diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c index dd062a1..7936f54 100644 --- a/kernel/sched/cpufreq_schedutil.c +++ b/kernel/sched/cpufreq_schedutil.c @@ -19,8 +19,6 @@ #include "sched.h" -#define SUGOV_KTHREAD_PRIORITY 50 - struct sugov_tunables { struct gov_attr_set attr_set; unsigned int rate_limit_us;