From patchwork Wed May 18 12:25:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 68042 Delivered-To: patch@linaro.org Received: by 10.140.92.199 with SMTP id b65csp2604709qge; Wed, 18 May 2016 05:26:12 -0700 (PDT) X-Received: by 10.66.172.238 with SMTP id bf14mr10578716pac.153.1463574369619; Wed, 18 May 2016 05:26:09 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 74si11901390pfp.87.2016.05.18.05.26.09; Wed, 18 May 2016 05:26:09 -0700 (PDT) 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; 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 dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753240AbcERMZz (ORCPT + 29 others); Wed, 18 May 2016 08:25:55 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:33376 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753209AbcERMZv (ORCPT ); Wed, 18 May 2016 08:25:51 -0400 Received: by mail-pa0-f42.google.com with SMTP id xk12so17579018pac.0 for ; Wed, 18 May 2016 05:25:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=DHcBPrSIOsQ1p7Se+bUb/IzoEewvt+N7D2YmdOqE1IE=; b=NzljLSakjnWLUIRlDTbwNscoFzhRs1j6zCAzH00bwFUjhSovR5/yDUnY2wPvMCdnJX 3PYEVVugRF6T87V+woHCwRxdillajZ1VnhHFZZ/sKhu/ewKFKYWDVDMNCtGaeUbp8XeG 6U1numfzjRpSimE1b/KADMAf16aKCS3wC5Cd4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=DHcBPrSIOsQ1p7Se+bUb/IzoEewvt+N7D2YmdOqE1IE=; b=Cz32dDguC+A29vBahgsyxks5kE8/vqXgANkDLIisj8mZSFVo2h3zHtM1WJXvBxdEjE deDAOLDG0+H6jK9dXPimTU5E+a7hAYya6X0ugUqD1HS0DpTywTYy/kBhixfOzIb5HTyU 2Ch81RCQ56qoLgRncaQJPngrVw1IbLqIAXHFvjqNSWH7eCZqU4bsFZNrSyZY6JhDtVQL G9kPHloV8krEPQn8WC+Rih2jRiPAtSWNVI/WHdOXG4CRYq2sfcwzsEns1yWw/YyuaDvr RPNmzup7xUSg5E9VH6Np5gercAQfu7dMFvx+USffJDubGY733Kc80nGc1KsVWj4LK251 XyWA== X-Gm-Message-State: AOPr4FU/tT0uOgcEvW0Im+YhsMzawtc3ZiUb3pTKPwtRxi0yEsacrQML3XKD97+KGHnDI/tF X-Received: by 10.67.13.144 with SMTP id ey16mr10528014pad.147.1463574350843; Wed, 18 May 2016 05:25:50 -0700 (PDT) Received: from localhost ([122.172.42.124]) by smtp.gmail.com with ESMTPSA id b140sm12101077pfb.19.2016.05.18.05.25.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 May 2016 05:25:50 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki , Viresh Kumar Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/6] cpufreq: conservative: Remove declaration of cs_dbs_gov Date: Wed, 18 May 2016 17:55:29 +0530 Message-Id: X-Mailer: git-send-email 2.7.1.410.g6faf27b In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The code doesn't use 'cs_dbs_gov' anymore before it is defined and the extra line for declaring it can be removed. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq_conservative.c | 2 -- 1 file changed, 2 deletions(-) -- 2.7.1.410.g6faf27b diff --git a/drivers/cpufreq/cpufreq_conservative.c b/drivers/cpufreq/cpufreq_conservative.c index 5a15f649602c..904839171d94 100644 --- a/drivers/cpufreq/cpufreq_conservative.c +++ b/drivers/cpufreq/cpufreq_conservative.c @@ -127,8 +127,6 @@ static struct notifier_block cs_cpufreq_notifier_block = { }; /************************** sysfs interface ************************/ -static struct dbs_governor cs_dbs_gov; - static ssize_t store_sampling_down_factor(struct gov_attr_set *attr_set, const char *buf, size_t count) {