From patchwork Mon Mar 24 15:53:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lespiau, Damien" X-Patchwork-Id: 3883041 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7B87EBF540 for ; Mon, 24 Mar 2014 15:53:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B3DAC20263 for ; Mon, 24 Mar 2014 15:53:57 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id E496C2020F for ; Mon, 24 Mar 2014 15:53:56 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 29A666EA87; Mon, 24 Mar 2014 08:53:54 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id A39816EA80 for ; Mon, 24 Mar 2014 08:53:52 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 24 Mar 2014 08:53:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,721,1389772800"; d="scan'208";a="478905723" Received: from unknown (HELO strange.amr.corp.intel.com) ([10.255.13.171]) by orsmga001.jf.intel.com with ESMTP; 24 Mar 2014 08:53:24 -0700 From: Damien Lespiau To: dri-devel@lists.freedesktop.org Subject: [PATCH 02/11] drm: Remove the unused (and unusable) DRM_LOG_MODE() Date: Mon, 24 Mar 2014 15:53:09 +0000 Message-Id: <1395676398-7058-3-git-send-email-damien.lespiau@intel.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1395676398-7058-1-git-send-email-damien.lespiau@intel.com> References: <1395676398-7058-1-git-send-email-damien.lespiau@intel.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This macro was trying to use the non existing DRM_UT_MODE debug category and looks like it should be covered by DRM_LOG_KMS(). Signed-off-by: Damien Lespiau --- include/drm/drmP.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/drm/drmP.h b/include/drm/drmP.h index 97900b7..1455e58 100644 --- a/include/drm/drmP.h +++ b/include/drm/drmP.h @@ -238,11 +238,6 @@ int drm_err(const char *func, const char *format, ...); drm_ut_debug_printk(DRM_UT_KMS, NULL, \ NULL, fmt, ##args); \ } while (0) -#define DRM_LOG_MODE(fmt, args...) \ - do { \ - drm_ut_debug_printk(DRM_UT_MODE, NULL, \ - NULL, fmt, ##args); \ - } while (0) #define DRM_LOG_DRIVER(fmt, args...) \ do { \ drm_ut_debug_printk(DRM_UT_DRIVER, NULL, \ @@ -255,7 +250,6 @@ int drm_err(const char *func, const char *format, ...); #define DRM_DEBUG(fmt, arg...) do { } while (0) #define DRM_LOG(fmt, arg...) do { } while (0) #define DRM_LOG_KMS(fmt, args...) do { } while (0) -#define DRM_LOG_MODE(fmt, arg...) do { } while (0) #define DRM_LOG_DRIVER(fmt, arg...) do { } while (0) #endif