Mesa (master): pipe-loader: Remove a few debug_printfs
Tom Stellard
tstellar at kemper.freedesktop.org
Fri Sep 21 19:51:21 UTC 2012
Module: Mesa
Branch: master
Commit: 024e1732cba28adc0c6055744339048dee376482
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=024e1732cba28adc0c6055744339048dee376482
Author: Tom Stellard <thomas.stellard at amd.com>
Date: Thu Sep 13 14:53:32 2012 +0000
pipe-loader: Remove a few debug_printfs
On debug builds these were always being printed.
Reviewed-by: Francisco Jerez <currojerez at riseup.net>
---
src/gallium/auxiliary/pipe-loader/pipe_loader.c | 1 -
.../auxiliary/pipe-loader/pipe_loader_drm.c | 3 ---
2 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader.c b/src/gallium/auxiliary/pipe-loader/pipe_loader.c
index 6a10ac3..b1d9285 100644
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader.c
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader.c
@@ -92,7 +92,6 @@ pipe_loader_find_module(struct pipe_loader_device *dev,
if (ret > 0 && ret < sizeof(path)) {
lib = util_dl_open(path);
if (lib) {
- debug_printf("loaded %s\n", path);
return lib;
}
}
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
index 64bd921..6dedc41 100644
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
@@ -96,7 +96,6 @@ find_drm_pci_id(struct pipe_loader_drm_device *ddev)
if (udev)
udev_unref(udev);
- debug_printf("pci id for fd %d not found\n", ddev->fd);
return FALSE;
}
@@ -126,8 +125,6 @@ find_drm_driver_name(struct pipe_loader_drm_device *ddev)
return FALSE;
found:
- debug_printf("driver for %04x:%04x: %s\n", dev->u.pci.vendor_id,
- dev->u.pci.chip_id, dev->driver_name);
return TRUE;
}
More information about the mesa-commit
mailing list