Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp104826yba; Thu, 2 May 2019 21:02:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqyp1/Tv4P3ZPLy3pWXlvUPbWHoApXSLDv1qrRbY353vKVlK5ykcq9EWD1PX0ehOt8BgB/QK X-Received: by 2002:a63:4721:: with SMTP id u33mr7659701pga.199.1556856145110; Thu, 02 May 2019 21:02:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556856145; cv=none; d=google.com; s=arc-20160816; b=zTVta31yiAj7RoKbVz1nsDd1hj8lyZCeZcKP9Y2EgsuwRS2xIc4fx+xEgSsAFZGHv8 fNoRhKdOaBZFshsxExTYqHKQe7UEmEqVC9ZuYsWiMJzOQRoarvLJq68yO78JWgBKV5nV E0g47s6oJycPBRurx38SrDdE/xtv/y9Nwb4cZxLVwWVxICmJiGnR3ZI5HbRq8EAFs5xD BLhvVv6kduShY4OL7+kKOv4grpd0zKyRiIgJMJJsG3WXstTETvVN3O0s+nYoxWLJfm4J Zq7peLY/qC+dqTBnwPuA5mkOze+uNYG0B8Y/hFhsL4bRaTO4Or5ZsUghvVdA1UX0Z5b4 UARA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=dEuYGj0O58tspSnt+ZpOw9dKatfC4l7Bo34N+ze4Knk=; b=h73dSH2diYlEGXuGo7PjKBtnb0Bnl4nT6SqTz6y7Y3vrgpV7tNlWbjcS7GZ4w+UNmg kl7U8peUEY+FKS3NgfaG4YF3XbO92TfiKEOStw0BGZOWDFz2P5dVA978+mluLJMZt51j 5NYJiiU4u3jI/unWe0eJx+nH9ATYHJXcewV4GhmsOiOt4+ibwvgGTHbKQkS88LSI5Cxo 6V3HXPLGYM4BtiOiUb1KfikhcOeq/AGi2pwhua0zIHmUmp2I4HRACvLQMRO03bNztBjO vzh3E7PCwOlJYZ6H6FIdPDtlTXwmUZ0ZfI5aU6XcjtfFOaNf8y75YSOVcyWEHczQFIy8 7MiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fredlawl-com.20150623.gappssmtp.com header.s=20150623 header.b=V87dHIKz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b96si1107028plb.426.2019.05.02.21.02.10; Thu, 02 May 2019 21:02:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@fredlawl-com.20150623.gappssmtp.com header.s=20150623 header.b=V87dHIKz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726559AbfECEAm (ORCPT + 99 others); Fri, 3 May 2019 00:00:42 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:35286 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726506AbfECEAg (ORCPT ); Fri, 3 May 2019 00:00:36 -0400 Received: by mail-ot1-f68.google.com with SMTP id g24so4174497otq.2 for ; Thu, 02 May 2019 21:00:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fredlawl-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dEuYGj0O58tspSnt+ZpOw9dKatfC4l7Bo34N+ze4Knk=; b=V87dHIKzVmPP/S0N0PyA7zHPHu0mXweFGmROyi7cgyoDDCiEgvvPCV1HYDxGPuTgqY Fd0xLFcmafP2TOblvOznWvEiq8HGfuM8kpfMV30SO+9XOjgWLgzOX7UkmZPhrK6QdMWb JsTKAZT5PVeh3jytdlz9OXYKFhHxSpUIMiHE3iHwGdQp6MyfvQz2W74HXZVPMSGLGtd9 elAW+vDgI8ucFakopyD18+qJH3mIxBmJnhFe7Xkcyrk3K3IwUUATHj9KrfNe4tDqC+Yb WN3GhwaDYl4h7nJ2VZfGLeBaT7CZXew5/WDttJw4x5R1q/buXnq04zYNfj5wNG0jAlKG C4/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dEuYGj0O58tspSnt+ZpOw9dKatfC4l7Bo34N+ze4Knk=; b=Qy1YSVuwQCW6yZsf8E/hUaktId/IzlFjyvZo5UCCBGpXVddE/Uz1sRcPfAhSoJqZvT dWJHljlk/lWJ/DIzTcF7Hsk0npXwuWZcoTz+vEE+eTGhwrsadE94CKAH2qPda0KLf3g+ lCZvFHduc6MmmnHAp/CL+srqw9gxUBITks31Op94KvPUPc00FVtwXWSGMV42IzFsjhWN rZi4r8vi7ZhAEoB5MwOMb/22S0rj6VPYN4qerAtoROYFvJZzmTDAxsbWoGlYT/rSjT3l DKXtYiY83/2JGWDa5mtDfqnO1RXOI2jS51R+H47CUtXM8iY5eQAoQ1X8WRf7ty2e1K2l Hvaw== X-Gm-Message-State: APjAAAU0cjm4FWcN950r6nr4AMTc2drNn/gHXd4tSnfgj5/qAfBbyAvY ML4+5gi3Ei+BIZDY5tEbOTaBXw== X-Received: by 2002:a9d:609e:: with SMTP id m30mr4650287otj.337.1556856035626; Thu, 02 May 2019 21:00:35 -0700 (PDT) Received: from linux.fredlawl.com ([2600:1700:18a0:11d0:5518:38b8:ef25:393a]) by smtp.gmail.com with ESMTPSA id d78sm543523oib.15.2019.05.02.21.00.34 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 May 2019 21:00:34 -0700 (PDT) From: Frederick Lawler To: bhelgaas@google.com Cc: linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, mika.westerberg@linux.intel.com, lukas@wunner.de, andriy.shevchenko@linux.intel.com, keith.busch@intel.com, mr.nuke.me@gmail.com, liudongdong3@huawei.com, thesven73@gmail.com, Frederick Lawler Subject: [PATCH v2 8/9] PCI: hotplug: Remove unnecessary dbg/err/info/warn() printk() wrappers Date: Thu, 2 May 2019 22:59:45 -0500 Message-Id: <20190503035946.23608-9-fred@fredlawl.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190503035946.23608-1-fred@fredlawl.com> References: <20190503035946.23608-1-fred@fredlawl.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unnecessary deb/err/info/warn() printk() wrappers. Signed-off-by: Frederick Lawler --- drivers/pci/hotplug/pciehp.h | 9 --------- drivers/pci/hotplug/pciehp_core.c | 4 ++-- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h index e852aa478802..06ff9d31405e 100644 --- a/drivers/pci/hotplug/pciehp.h +++ b/drivers/pci/hotplug/pciehp.h @@ -31,15 +31,6 @@ extern bool pciehp_poll_mode; extern int pciehp_poll_time; extern bool pciehp_debug; -#define dbg(format, arg...) \ - pr_debug(format, ## arg); -#define err(format, arg...) \ - pr_err(format, ## arg) -#define info(format, arg...) \ - pr_info(format, ## arg) -#define warn(format, arg...) \ - pr_warn(format, ## arg) - #define ctrl_dbg(ctrl, format, arg...) \ pci_dbg(ctrl->pcie->port, format, ## arg) #define ctrl_err(ctrl, format, arg...) \ diff --git a/drivers/pci/hotplug/pciehp_core.c b/drivers/pci/hotplug/pciehp_core.c index 7e06a0f9e644..67d024b7f476 100644 --- a/drivers/pci/hotplug/pciehp_core.c +++ b/drivers/pci/hotplug/pciehp_core.c @@ -331,9 +331,9 @@ int __init pcie_hp_init(void) int retval = 0; retval = pcie_port_service_register(&hpdriver_portdrv); - dbg("pcie_port_service_register = %d\n", retval); + pr_debug("pcie_port_service_register = %d\n", retval); if (retval) - dbg("Failure to register service\n"); + pr_debug("Failure to register service\n"); return retval; } -- 2.17.1