Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1033915rdb; Wed, 6 Dec 2023 07:02:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IHa5xU5mVNIlm7m5J4fi7NOabQ7LWxN0pmY1oQtKGQSz4gg5HELTGWCJ+T1+G6yGfGE93z4 X-Received: by 2002:a05:6870:1b11:b0:1fb:75a:de59 with SMTP id hl17-20020a0568701b1100b001fb075ade59mr1147262oab.71.1701874939708; Wed, 06 Dec 2023 07:02:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701874939; cv=none; d=google.com; s=arc-20160816; b=u8DlZeMHEY2iph8vtMDQJ+JmDP5/mj78NdPD/OcrMOlV9J8ViKc78DSSzBHWfi2hca sl3FA9ppgO7thbmdmYXHUoZpR5FP0liTbqQRh76gocMrEA96MqSAvx0nL4m05BwvGcrS ByBlNY//96eG3/PxGSdsoMUPWKnS1cAMlNSvdT0OeaLpVxV5QkUkhK72zPNc9A0YaM9j AVmJgVQZ6bLUiqSL1cqS+i6InDf4MCkoCPy+gF5zQWiMcxMy3OA+HHcbqm40M07PbXbZ LXFH5Ta6sABKuRYZqdwvoky1ydQk82JmpX8stLHtBUEqEW0ZfMTW0gJSgUhcs7msnrgj b97Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=u1zZpsz6Hajn4WlNLB7bRKZ+RtbXlToJX9UdTVguXzw=; fh=XBl8yfljG3L7V3qUs6oIyi0dJ5biueUpJ4es73oJt78=; b=Wq6h1wviynadbeYlAPzY7EXfmBXps2hzrH+vDojn98HBZi1AU2ICaAmffzF/xn7I5c YKRurvcCbE+QiuOF0N5VG8zz/DgbUxmT8TWzrZmvvzRNkKsLlO/+YXjXGV+5RT/iOETH HX6UNjPL6T98tsXfrHAuzf4/NJpGxfNhtup/LCKGXuRhW6AOI+3d56HLSvjWco30Hc1c tQNfeMK3GMGk1VGB2bqmTKGXI9uB8qhpn0RB3qO2GoLmI2YpH5F3IwZ2LlstQzFe4oC2 VcxI7DAW2aT7Y/9Zrexb+/tD0/ImcPaL2g/PX65l1ZCUxTnndQLywqUpi5A2JX1krIFg UaUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LxRBVTGF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id os11-20020a0568715c4b00b001faf7a1beb0si15558oac.1.2023.12.06.07.02.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 07:02:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=LxRBVTGF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id CB9FD826E8EB; Wed, 6 Dec 2023 07:02:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379042AbjLFPCB (ORCPT + 99 others); Wed, 6 Dec 2023 10:02:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378966AbjLFPCB (ORCPT ); Wed, 6 Dec 2023 10:02:01 -0500 Received: from mail-lj1-x232.google.com (mail-lj1-x232.google.com [IPv6:2a00:1450:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54E349A for ; Wed, 6 Dec 2023 07:02:07 -0800 (PST) Received: by mail-lj1-x232.google.com with SMTP id 38308e7fff4ca-2ca0d14976aso39377801fa.2 for ; Wed, 06 Dec 2023 07:02:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1701874925; x=1702479725; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=u1zZpsz6Hajn4WlNLB7bRKZ+RtbXlToJX9UdTVguXzw=; b=LxRBVTGF5WYysnS8BmximysOIWTqgd12VcbeKiQwXFb6kNZAQPT6KGbNFQDKbsvkbR t1Y6ps6pVz6tri1g2EW6JLkNJC2dNGFl7cYzPLbyYDisrPtlzcpq9lf+RztI7UlVH6x1 fza045HXmrfXC9UQuO8S12RSyG1oaZsSErAlo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701874925; x=1702479725; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=u1zZpsz6Hajn4WlNLB7bRKZ+RtbXlToJX9UdTVguXzw=; b=vJsfBQOQt0rYaj12pbH3zjmzS0UCEdLk6mL2gcQx+Iyr9b3IYtL8dAnVbThp/t96ON vaGhBBCTrgn9ZxwZrJ40HLejalNpmL5S32ck5qa6OaWyDG3SRORArgTMoOTBL7zvUz7O Ry/j9eSxk4090VMBIcxsQL5/HbkNmHPaU1qGTTkAGtEUKqpxQFu3sUxRl+qfP4jM/Wna uxHIKe7Z7nffBA0GJTR5WCUy96waIVmO+CBrQ7QhzuyYOLx8mai2VTNdrb841EqMONIz o2FbZ0Tp5Yp9FGax2PvWpGPkUCCiR0GYLqh+BMfuG/lin2oJDWoXPuucUmkdsktxvVoR xH7g== X-Gm-Message-State: AOJu0Ywwgil3YbkhY3LOCbzx6aA3r4FZhUfakdFt0pzKBfTsFrQ2NG5f 0CN2pSsIfL9DVwvvDBz0/cimggIRPhUWat11JH/Gug== X-Received: by 2002:a2e:a7c2:0:b0:2ca:2966:e754 with SMTP id x2-20020a2ea7c2000000b002ca2966e754mr234967ljp.21.1701874925276; Wed, 06 Dec 2023 07:02:05 -0800 (PST) Received: from localhost.localdomain ([2001:b07:6474:ebbf:9e85:9d11:a604:aaf7]) by smtp.gmail.com with ESMTPSA id ca19-20020a170906a3d300b00a1dc4307ed5sm20076ejb.195.2023.12.06.07.02.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 07:02:04 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Dario Binacchi , Daniel Vetter , David Airlie , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , dri-devel@lists.freedesktop.org Subject: [PATCH] drm/debugfs: drop unneeded DEBUG_FS guard Date: Wed, 6 Dec 2023 16:01:55 +0100 Message-ID: <20231206150201.669055-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 06 Dec 2023 07:02:16 -0800 (PST) The Makefile enables/disables the file compilation depending on CONFIG_DEBUG_FS. Signed-off-by: Dario Binacchi --- drivers/gpu/drm/drm_debugfs.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c index f291fb4b359f..f80d9cf3e71a 100644 --- a/drivers/gpu/drm/drm_debugfs.c +++ b/drivers/gpu/drm/drm_debugfs.c @@ -45,8 +45,6 @@ #include "drm_crtc_internal.h" #include "drm_internal.h" -#if defined(CONFIG_DEBUG_FS) - /*************************************************** * Initialization, etc. **************************************************/ @@ -588,5 +586,3 @@ void drm_debugfs_crtc_remove(struct drm_crtc *crtc) debugfs_remove_recursive(crtc->debugfs_entry); crtc->debugfs_entry = NULL; } - -#endif /* CONFIG_DEBUG_FS */ -- 2.43.0