Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1979953pxa; Sun, 16 Aug 2020 18:37:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXCnVag07QScrIaenbXMcSa2BAmLPUsM6nuX5JRaPJTWlKKlHDrzbS/NkMfG/isZ7/YLsU X-Received: by 2002:a05:6402:1855:: with SMTP id v21mr13088843edy.355.1597628231469; Sun, 16 Aug 2020 18:37:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597628231; cv=none; d=google.com; s=arc-20160816; b=EmWA2qSBJMW3teDocwo9NU1kqm6VBFIrKICkuXY7ZJGz0TCye4GwQmLuAJ+4SrEWHm aMvf/cz45JW9C1igl6QCDpRg2kHCWhAoLQjKPiUFmAThEjCkJBl8NIkLfO+r+pi2eor3 68ySsZWUde8Z+U80U3XsJIQXxl6Rfd5KnyJ43824bTS9OUty+36/xesvzA5q1DuOY8uB ScfW+6QAWUQwMNYvssXQgYV4itmLAngQfr7g1MK1pQz4vNKZSp63JU1jVI3231ZzDpDD qCPNw+miwYqpMT1uYPFkXPbo7M8nBAAkughQT0Fbp+RAX7FsFgNB67Bft0hSbgg1Mp42 uOPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=dLmWmzWBOuA5iuuGsTuznwLQb3MCvt51D1lQRrTJm00=; b=LbCE/SQGyoqV0Nl0CpdA3WjhGzH1Z8iEy59Ap4b6OZ0PE16d72e7j/HWbKZtEp36Ct Oj3oOyH+D8+RV62uBs1MxKXWBWNedNdQJ1D0QVquT/cSyND8AOxzaECXjhysjgf11AgE uPAzuNJCPbnWfb+TmwsU30VK9oVSDeGm1eVo3+34tzkNAaSJGQpOB97In5UWG/qtKD6/ nHH7XtidEqYViE9gIBLHm8xM/uO9XYrFc6PDB4WKf4uuxOGHIEqK+G+Xlk9EHvb/xKtu 0oXRu6+pA5ivp2AVktXCcCzwxsdfyqRLaDLtP+M3OmQcu8fYjO+U71d/eT1tQv/hi0FI yMgQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dc15si10135841ejb.285.2020.08.16.18.36.48; Sun, 16 Aug 2020 18:37:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726793AbgHQBfD (ORCPT + 99 others); Sun, 16 Aug 2020 21:35:03 -0400 Received: from smtprelay0100.hostedemail.com ([216.40.44.100]:50468 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726221AbgHQBes (ORCPT ); Sun, 16 Aug 2020 21:34:48 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay05.hostedemail.com (Postfix) with ESMTP id AEFEB18029155; Mon, 17 Aug 2020 01:34:46 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,,RULES_HIT:41:69:355:379:541:800:960:968:973:988:989:1260:1311:1314:1345:1359:1437:1515:1534:1541:1711:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3352:3865:3867:3868:5007:6261:8603:8660:9163:9592:10004:10848:11026:11473:11658:11914:12043:12296:12297:12438:12555:12683:12895:13069:13148:13230:13311:13357:13894:14110:14181:14384:14394:14721:14828:21080:21433:21451:21627:21939:30054,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: care37_35117f927012 X-Filterd-Recvd-Size: 2064 Received: from joe-laptop.perches.com (unknown [47.151.133.149]) (Authenticated sender: joe@perches.com) by omf01.hostedemail.com (Postfix) with ESMTPA; Mon, 17 Aug 2020 01:34:45 +0000 (UTC) From: Joe Perches To: Ilya Dryomov , Jeff Layton Cc: ceph-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 6/6] ceph_debug: Remove now unused dout macro definitions Date: Sun, 16 Aug 2020 18:34:09 -0700 Message-Id: X-Mailer: git-send-email 2.26.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org All the uses have be converted to pr_debug, so remove these. Signed-off-by: Joe Perches --- include/linux/ceph/ceph_debug.h | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/include/linux/ceph/ceph_debug.h b/include/linux/ceph/ceph_debug.h index d5a5da838caf..81c0d7195f1e 100644 --- a/include/linux/ceph/ceph_debug.h +++ b/include/linux/ceph/ceph_debug.h @@ -6,34 +6,4 @@ #include -#ifdef CONFIG_CEPH_LIB_PRETTYDEBUG - -/* - * wrap pr_debug to include a filename:lineno prefix on each line. - * this incurs some overhead (kernel size and execution time) due to - * the extra function call at each call site. - */ - -# if defined(DEBUG) || defined(CONFIG_DYNAMIC_DEBUG) -# define dout(fmt, ...) \ - pr_debug("%.*s %12.12s:%-4d : " fmt, \ - 8 - (int)sizeof(KBUILD_MODNAME), " ", \ - kbasename(__FILE__), __LINE__, ##__VA_ARGS__) -# else -/* faux printk call just to see any compiler warnings. */ -# define dout(fmt, ...) do { \ - if (0) \ - printk(KERN_DEBUG fmt, ##__VA_ARGS__); \ - } while (0) -# endif - -#else - -/* - * or, just wrap pr_debug - */ -# define dout(fmt, ...) pr_debug(" " fmt, ##__VA_ARGS__) - -#endif - #endif -- 2.26.0