From patchwork Mon Jan 26 16:22:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mathieu Poirier X-Patchwork-Id: 43765 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-we0-f197.google.com (mail-we0-f197.google.com [74.125.82.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id D1BC720D5D for ; Mon, 26 Jan 2015 16:24:04 +0000 (UTC) Received: by mail-we0-f197.google.com with SMTP id l61sf4828474wev.0 for ; Mon, 26 Jan 2015 08:24:04 -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=01L+c5SthtA5QgeeKywnQOeOVPiIsoxVuWqNkNB5MFk=; b=JUCshb4+f4g9d5Jn039lNls9+prDcAIuOWwx18wPgeqeVTgrUmJ8wiV80fIC2heW6y vF1y3mnSLrI2SZTFQ5KGOUoHJnwwU6Nmwr01tKy+O6vwZgTfpf449klfAm57yC1DNulj n/uCCtgMjyZYX0dkJcZ1xFc2xb1vZ5UbR9pqf8o69bZoN/cpbQBm7GFIZNv41EaDxjGf rxgY3jOj72+CgEjYzDyLUsYOiQ81+o/JACpLCX5CZoBR4Cge+F6knn07ZQVFo5br12c0 MYYYQ5xouE6HOOjayEZ/l9x7IcSmWea99r9KYd7+Lbj0lXIXbLqJfF/V/uE860+Z47fU 3Ueg== X-Gm-Message-State: ALoCoQm9ITS8hX18CX7ftdBHbQ/eJI2bu2QEhH2L656agP/SJxTBvZmbpnTqDAVcwVI4ARCJ9mju X-Received: by 10.112.35.135 with SMTP id h7mr911560lbj.23.1422289444070; Mon, 26 Jan 2015 08:24:04 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.2.99 with SMTP id 3ls545014lat.107.gmail; Mon, 26 Jan 2015 08:24:03 -0800 (PST) X-Received: by 10.152.244.163 with SMTP id xh3mr19226405lac.25.1422289442942; Mon, 26 Jan 2015 08:24:02 -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 o15si3099652laa.27.2015.01.26.08.24.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 26 Jan 2015 08:24:02 -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 p9so8470039lbv.4 for ; Mon, 26 Jan 2015 08:24:02 -0800 (PST) X-Received: by 10.112.41.234 with SMTP id i10mr22347564lbl.25.1422289442819; Mon, 26 Jan 2015 08:24:02 -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.35.133 with SMTP id h5csp828614lbj; Mon, 26 Jan 2015 08:24:01 -0800 (PST) X-Received: by 10.66.164.137 with SMTP id yq9mr13533947pab.78.1422289440876; Mon, 26 Jan 2015 08:24:00 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ss1si12715957pab.184.2015.01.26.08.23.59; Mon, 26 Jan 2015 08:24:00 -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 S1756463AbbAZQX4 (ORCPT + 28 others); Mon, 26 Jan 2015 11:23:56 -0500 Received: from mail-pd0-f182.google.com ([209.85.192.182]:34751 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754955AbbAZQXU (ORCPT ); Mon, 26 Jan 2015 11:23:20 -0500 Received: by mail-pd0-f182.google.com with SMTP id z10so12666638pdj.13 for ; Mon, 26 Jan 2015 08:23:20 -0800 (PST) X-Received: by 10.68.132.134 with SMTP id ou6mr35938007pbb.118.1422289400131; Mon, 26 Jan 2015 08:23:20 -0800 (PST) Received: from t430.cg.shawcable.net (S0106002369de4dac.cg.shawcable.net. [70.73.24.112]) by mx.google.com with ESMTPSA id gr7sm10111137pbc.75.2015.01.26.08.23.19 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 26 Jan 2015 08:23:19 -0800 (PST) From: mathieu.poirier@linaro.org To: gregkh@linuxfoundation.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 8/9] coresight-etm: remove check for unknown Kconfig macro Date: Mon, 26 Jan 2015 09:22:24 -0700 Message-Id: <1422289345-2084-9-git-send-email-mathieu.poirier@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1422289345-2084-1-git-send-email-mathieu.poirier@linaro.org> References: <1422289345-2084-1-git-send-email-mathieu.poirier@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: mathieu.poirier@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: , From: Paul Bolle The CoreSight ETM/PTM driver contains a check for a CONFIG_CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE macro. But there's no related Kconfig symbol CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE. Remove that check and the single line of code it hides. Signed-off-by: Paul Bolle Signed-off-by: Mathieu Poirier --- drivers/coresight/coresight-etm3x.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/coresight/coresight-etm3x.c b/drivers/coresight/coresight-etm3x.c index 73c36696f1b6..c965f5724abd 100644 --- a/drivers/coresight/coresight-etm3x.c +++ b/drivers/coresight/coresight-etm3x.c @@ -34,14 +34,8 @@ #include "coresight-etm.h" -#ifdef CONFIG_CORESIGHT_SOURCE_ETM_DEFAULT_ENABLE -static int boot_enable = 1; -#else static int boot_enable; -#endif -module_param_named( - boot_enable, boot_enable, int, S_IRUGO -); +module_param_named(boot_enable, boot_enable, int, S_IRUGO); /* The number of ETM/PTM currently registered */ static int etm_count;