From patchwork Tue Jan 6 15:39:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 42773 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f70.google.com (mail-ee0-f70.google.com [74.125.83.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 622D52055F for ; Tue, 6 Jan 2015 15:39:44 +0000 (UTC) Received: by mail-ee0-f70.google.com with SMTP id b57sf1947645eek.1 for ; Tue, 06 Jan 2015 07:39:43 -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: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=RCdVGG7DgDczm9vZETZJyjQtuKrbM+7DYkhbmIAI9II=; b=UtnCAaxRy6uRnb7FrgnO7fzpkjUyyCiIHCDi2UNfYD4T9+8cjB4Pe8wTy+XBkj/JWe Moe25PU94LhqyTjBMe5fPzrD0jSztmyXSIgMbJbhnQTbldD9cJCuP3Od8jFFj/Wp4OxW JMLo75TebDUce7MOfu/XZAzopwkBud6oYd85kMti8YBpcKIvD8uMO7m98i07hlSYi3t+ WZKWBPbdomdQrMKg1ZZReAQRxN3SbQsoRPaTq8/YZkN4a7oAwR8vjAjMxKrHqwz/fQO5 Wugz87DsqJ5FJMxF/stef1m1kLDb//CMEGokqz8rim8VuYHDau1VTUqnt8FiIMU2y30y N4wQ== X-Gm-Message-State: ALoCoQmsAfsSQ/XZ3ed7h24gRlpFlqGZHDM8UshEXMORLpaydg6MO8yfEzmECvChMUexf/7kzaeM X-Received: by 10.180.77.167 with SMTP id t7mr2290364wiw.6.1420558783693; Tue, 06 Jan 2015 07:39:43 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.176 with SMTP id az16ls42166lab.87.gmail; Tue, 06 Jan 2015 07:39:43 -0800 (PST) X-Received: by 10.112.180.135 with SMTP id do7mr58420852lbc.23.1420558783509; Tue, 06 Jan 2015 07:39:43 -0800 (PST) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id tt6si53063781lbb.45.2015.01.06.07.39.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 06 Jan 2015 07:39:43 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by mail-lb0-f173.google.com with SMTP id z12so19552922lbi.32 for ; Tue, 06 Jan 2015 07:39:43 -0800 (PST) X-Received: by 10.112.98.99 with SMTP id eh3mr99149717lbb.32.1420558783012; Tue, 06 Jan 2015 07:39:43 -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.9.200 with SMTP id c8csp1209498lbb; Tue, 6 Jan 2015 07:39:42 -0800 (PST) X-Received: by 10.66.66.46 with SMTP id c14mr63662142pat.136.1420558781276; Tue, 06 Jan 2015 07:39:41 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hz4si17325227pbb.8.2015.01.06.07.39.40; Tue, 06 Jan 2015 07:39:41 -0800 (PST) Received-SPF: none (google.com: linux-pm-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 S1754673AbbAFPjj (ORCPT + 12 others); Tue, 6 Jan 2015 10:39:39 -0500 Received: from mail-pa0-f50.google.com ([209.85.220.50]:53154 "EHLO mail-pa0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754388AbbAFPjj (ORCPT ); Tue, 6 Jan 2015 10:39:39 -0500 Received: by mail-pa0-f50.google.com with SMTP id bj1so31368047pad.9 for ; Tue, 06 Jan 2015 07:39:39 -0800 (PST) X-Received: by 10.70.133.35 with SMTP id oz3mr153851929pdb.69.1420558779003; Tue, 06 Jan 2015 07:39:39 -0800 (PST) Received: from localhost ([122.167.212.196]) by mx.google.com with ESMTPSA id ta9sm57268209pbc.50.2015.01.06.07.39.37 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 06 Jan 2015 07:39:38 -0800 (PST) From: Viresh Kumar To: Rafael Wysocki Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, prarit@redhat.com, skannan@codeaurora.org, Viresh Kumar Subject: [PATCH V3 03/16] cpufreq: stats: remove unused cpufreq_stats_attribute Date: Tue, 6 Jan 2015 21:09:02 +0530 Message-Id: <152320dedd4d46691353088322b1d4a3b19a868b.1420558386.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.2.0 In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@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.217.173 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: , List-Help: , List-Archive: List-Unsubscribe: , It was never used, but is there since the first commit. Remove it. Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq_stats.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/cpufreq/cpufreq_stats.c b/drivers/cpufreq/cpufreq_stats.c index d2299ca2fc2c..14f8d858a63d 100644 --- a/drivers/cpufreq/cpufreq_stats.c +++ b/drivers/cpufreq/cpufreq_stats.c @@ -33,11 +33,6 @@ struct cpufreq_stats { static DEFINE_PER_CPU(struct cpufreq_stats *, cpufreq_stats_table); -struct cpufreq_stats_attribute { - struct attribute attr; - ssize_t(*show) (struct cpufreq_stats *, char *); -}; - static int cpufreq_stats_update(unsigned int cpu) { struct cpufreq_stats *stat;