PCI: remove #ifdef DEBUG around dev_dbg call

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Monday, October 20, 2008 - 3:27 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1543c9...
Commit:     1543c90c39360df333a21bfbbdfe812ae23b8167
Parent:     bd1d9855be3ab8a5c2b31053d464b7fe63e6963b
Author:     Jesse Barnes <jbarnes@virtuousgeek.org>
AuthorDate: Sat Oct 18 17:19:38 2008 -0700
Committer:  Jesse Barnes <jbarnes@virtuousgeek.org>
CommitDate: Mon Oct 20 11:01:50 2008 -0700

    PCI: remove #ifdef DEBUG around dev_dbg call
    
    No longer needed since we don't use the function symbol stuff anymore.
    
    Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
---
 drivers/pci/quirks.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 9575fc8..bbf66ea 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -1934,9 +1934,7 @@ static void pci_do_fixups(struct pci_dev *dev, struct pci_fixup *f, struct pci_f
 	while (f < end) {
 		if ((f->vendor == dev->vendor || f->vendor == (u16) PCI_ANY_ID) &&
  		    (f->device == dev->device || f->device == (u16) PCI_ANY_ID)) {
-#ifdef DEBUG
 			dev_dbg(&dev->dev, "calling %pF\n", f->hook);
-#endif
 			f->hook(dev);
 		}
 		f++;
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
PCI: remove #ifdef DEBUG around dev_dbg call, Linux Kernel Mailing ..., (Mon Oct 20, 3:27 pm)