Skip to content

Commit

Permalink
powerpc: Guard print_device_node_tree() with #if 0
Browse files Browse the repository at this point in the history
Currently print_device_node_tree() isn't called but it can be useful for
debugging.  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 <tony@bakeyournoodle.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Tony Breeds authored and Paul Mackerras committed Aug 20, 2008
1 parent fedcf4c commit dcfcfe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/pseries/eeh_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dcfcfe7

Please sign in to comment.