From patchwork Tue Jan 17 17:44:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nirmoy Das X-Patchwork-Id: 13104950 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7A1EFC54E76 for ; Tue, 17 Jan 2023 17:45:34 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 27C6288CE4; Tue, 17 Jan 2023 17:45:28 +0000 (UTC) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id BAF4010E2F0; Tue, 17 Jan 2023 17:45:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1673977523; x=1705513523; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=8zU6bxT4r/JWO5cPz6eZBPjLUrBxy5fVwdyiqBMMcK4=; b=Tyq/ezuVsbNS1Dk+BmMVOHQvqSL5NAthgg5/8rZKkT5bDFtYS9G5XfXG UIupDxiEB/XUBRWGqUIiGugAJD/F3is3UmsRJU320XL4cM1+DebBaJc0M NqP6IyNAxReU49S79Ru7YblnX3aFZfq+gf6WXWh4AjJOEaOPYt6DKlUiT JZtAi0JwN4XiYKOCj/3WBqmWq9R7JRfAPpMryRSP41/5a4hcG2vKYXWG4 sRF+nYh8yTTTzs8XLAxzKvUl/MkPaZojDR9Af5ga4lANXpi9WFcWJN7h9 wT8q9K1ZaSgtO2B9rbBnjUqb5IkdC64laNp13p7PQdKcEwLvyiJL6InHd Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10592"; a="304447951" X-IronPort-AV: E=Sophos;i="5.97,224,1669104000"; d="scan'208";a="304447951" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jan 2023 09:45:23 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10592"; a="833250900" X-IronPort-AV: E=Sophos;i="5.97,224,1669104000"; d="scan'208";a="833250900" Received: from nirmoyda-desk.igk.intel.com ([10.102.42.231]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Jan 2023 09:45:20 -0800 From: Nirmoy Das To: dri-devel@lists.freedesktop.org Subject: [PATCH 2/2] drm_print: Remove deprecated DRM_DEBUG_KMS_RATELIMITED() Date: Tue, 17 Jan 2023 18:44:47 +0100 Message-Id: <20230117174447.21870-2-nirmoy.das@intel.com> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230117174447.21870-1-nirmoy.das@intel.com> References: <20230117174447.21870-1-nirmoy.das@intel.com> MIME-Version: 1.0 Organization: Intel Deutschland GmbH, Registered Address: Am Campeon 10, 85579 Neubiberg, Germany, Commercial Register: Amtsgericht Muenchen HRB 186928 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Sam Ravnborg , amd-gfx@lists.freedesktop.org, Thomas Zimmermann , Nirmoy Das Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" There are no current users of DRM_DEBUG_KMS_RATELIMITED() so remove it. Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann Cc: David Airlie Cc: Daniel Vetter Cc: Sam Ravnborg Signed-off-by: Nirmoy Das Reviewed-by: Sam Ravnborg --- include/drm/drm_print.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h index a44fb7ef257f..c3753da97c4e 100644 --- a/include/drm/drm_print.h +++ b/include/drm/drm_print.h @@ -605,9 +605,6 @@ void __drm_err(const char *format, ...); #define drm_dbg_kms_ratelimited(drm, fmt, ...) \ __DRM_DEFINE_DBG_RATELIMITED(KMS, drm, fmt, ## __VA_ARGS__) -/* NOTE: this is deprecated in favor of drm_dbg_kms_ratelimited(NULL, ...). */ -#define DRM_DEBUG_KMS_RATELIMITED(fmt, ...) drm_dbg_kms_ratelimited(NULL, fmt, ## __VA_ARGS__) - /* * struct drm_device based WARNs *