From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from pythia.bakeyournoodle.com (pythia.bakeyournoodle.com [203.82.209.197]) by ozlabs.org (Postfix) with ESMTP id 1EBBBDE09A for ; Thu, 31 Jul 2008 16:54:23 +1000 (EST) To: Paul Mackerras , Benjamin Herrenschmidt In-Reply-To: Message-Id: From: Tony Breeds Subject: [PATCH v2] Guard print_device_node_tree() if #if 0. Date: Thu, 31 Jul 2008 16:54:20 +1000 (EST) Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Currently print_device_node_tree() isn't called but it can be usful for debuging. Leave the function there but hide it behind '#if 0' to save it being rewritten. If you want to call it you're already editing this file anyway ;P Signed-off-by: Tony Breeds --- Changes since v1: - No longer breaks CONFIG_PPC_PSERIES_DEBUG. arch/powerpc/platforms/pseries/eeh_driver.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/powerpc/platforms/pseries/eeh_driver.c b/arch/powerpc/platforms/pseries/eeh_driver.c index 8c1ca47..0ad56ff 100644 --- a/arch/powerpc/platforms/pseries/eeh_driver.c +++ b/arch/powerpc/platforms/pseries/eeh_driver.c @@ -41,7 +41,7 @@ static inline const char * pcid_name (struct pci_dev *pdev) return ""; } -#ifdef DEBUG +#if 0 static void print_device_node_tree(struct pci_dn *pdn, int dent) { int i; -- 1.5.6.3