Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1541010rdb; Sat, 23 Dec 2023 10:34:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IHjhWzzPmMWGzNBbdgiDPr7gl+gT0z8adRv9MtRMcEO0LkC1g04ntb78HY+StdecLhJAFjP X-Received: by 2002:a05:622a:386:b0:425:a7d6:f698 with SMTP id j6-20020a05622a038600b00425a7d6f698mr4177818qtx.110.1703356485665; Sat, 23 Dec 2023 10:34:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703356485; cv=none; d=google.com; s=arc-20160816; b=KxzP9smTxZXPlEqX9ysevbGNm6bSdKBhGnDdKOgmyE0pO5/e14hg4yN1KStvvZOEwU q9OpL5BQdexueWZzuPGKp2gVkRc3wLh93NsL8OFiRU2fUcMh4lVcWKR/DH/fH1VyXRwQ UdvckwnNwMzDdYOBKZIIDvCauANNxGwRXD+v/Yy0B6qOQG3J8XDhO9yGGdpSH7HkJMGe jyYipvQs1AHmvlwWHQWbvKumn3k0yTHUjk1iHMZ7WrjNyZrPL0bInV9I1BPYg4I5+hKQ tRVdERg+vmV7x/sQg1FuV2W26zac3L/s7G45Ioj2qg6XLzdqDKwdzBOtJRQ7buRiINlc IG8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=ruRMkuxTLRfeG6Csq4ElIsO4M1/KCLiyHuWeJfvDVGs=; fh=UADxknNGVp8KOWBkAvENT/SyJOnPsQxOglkLyVQGEzI=; b=GEZkCcIE9LhN8MspUJPs/13AQjn+INxQ3VcdmuSB8xSZEZiWXYKFrWf8w8u0DatphM pTP8lklSeEn8vXoXCxkTSP621Zm2aE4Zx5uFMGHrutFRIFCxgzomInr0blKTDAefwWyE iXDBASPEJfytAeRkkv7skrAyVum6OZ1zRjcEU0An6XenmyBl9TzcdOmqzRHYYs3088gp 4c0K27t3KE+RK7G6yymqY2/fd4ZrZFPGfTvFPN/zZ8c7objOdzROIfwpXjLlc2avUzch 9seWCzCYe4bIPiwW4kinls5e2mCGad3d+hTZnphArXl9XZBMKHXAoPi5JZTqBNTAAqNW iIIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=RlOSQJr2; spf=pass (google.com: domain of linux-kernel+bounces-10547-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10547-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 2-20020ac85942000000b004237f64dec8si7316380qtz.528.2023.12.23.10.34.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 10:34:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10547-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=RlOSQJr2; spf=pass (google.com: domain of linux-kernel+bounces-10547-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10547-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0F4581C216A9 for ; Sat, 23 Dec 2023 18:34:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E86DA168AC; Sat, 23 Dec 2023 18:33:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="RlOSQJr2" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5FF8515EB7 for ; Sat, 23 Dec 2023 18:33:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amarulasolutions.com Received: by mail-ej1-f45.google.com with SMTP id a640c23a62f3a-a235500d0e1so297959466b.2 for ; Sat, 23 Dec 2023 10:33:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1703356406; x=1703961206; 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=ruRMkuxTLRfeG6Csq4ElIsO4M1/KCLiyHuWeJfvDVGs=; b=RlOSQJr2ZMihrcg9RY3c6AH5PDFPWX0kJ7xErKeG8xQGqnMHqS61ZfFr3tiTbCZv+4 lEo0ztlRTBHNPoszNlOzHm82XKL/p6EoOjFpnqEzKlKIgkSnQtchd+dMsJKG+sg7bE53 9/VwfiDIrEH1Q0cvCVNd5NQA/gbPXK1RDBopo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703356406; x=1703961206; 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=ruRMkuxTLRfeG6Csq4ElIsO4M1/KCLiyHuWeJfvDVGs=; b=GgsTthNYzQVwdJkPwPwm9MNDuqxEjQr27QWJJjGj6xaKW8psyBI3+a3j+CGQgE0P9L 8RkJ+SSBXGlWoJJDpqu39Fb6qWhhBZoOMNMCQsL+nj2StFsugx7Sh1I3rUPhRvEeTzh+ D6xhT9WXHiS1+IbTbw/Bxn3jEsOy/0SxzNhwA/NNI7cdlgZyDwa2LfLfxDsX2uYME1Ap zwSu5zgMYMqZerL3SXvfNFNsRUvhnosItJc6nBOVunIwI7rzUB33nOtjEHRzdFj7ZTug Mdt+xmmTcJg+P7OvZT1rNCw815PSn8CdNpGeQOHGtYRquKG6+07OJve1/fDby+6S1K8M TngQ== X-Gm-Message-State: AOJu0YyjAUmS5drNF3ol/uJfrwelF27MhxcwZd+Wt+3Uudv/kfhOTeY1 y6u8Vdz+QAZ312/pfu6+4jM8gXDGarbr1ZaHz9zQPRzVcZZ5Lw== X-Received: by 2002:a17:906:10b:b0:a26:b173:ff92 with SMTP id 11-20020a170906010b00b00a26b173ff92mr1409440eje.65.1703356406378; Sat, 23 Dec 2023 10:33:26 -0800 (PST) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com (host-79-50-102-81.retail.telecomitalia.it. [79.50.102.81]) by smtp.gmail.com with ESMTPSA id kb6-20020a170907924600b00a26b024070asm2290910ejb.50.2023.12.23.10.33.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 10:33:24 -0800 (PST) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: Dario Binacchi , Jani Nikula , Daniel Vetter , David Airlie , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , dri-devel@lists.freedesktop.org Subject: [PATCH v2] drm/debugfs: drop unneeded DEBUG_FS guard Date: Sat, 23 Dec 2023 19:32:48 +0100 Message-ID: <20231223183301.78332-1-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The Makefile enables/disables the file compilation depending on CONFIG_DEBUG_FS. Signed-off-by: Dario Binacchi Reviewed-by: Jani Nikula --- Changes in v2: - Add 'Reviewed-by' tag of Jani Nikula 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