pipe-loader: Remove a few debug_printfs
authorTom Stellard <thomas.stellard@amd.com>
Thu, 13 Sep 2012 14:53:32 +0000 (14:53 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 21 Sep 2012 19:45:07 +0000 (19:45 +0000)
On debug builds these were always being printed.

Reviewed-by: Francisco Jerez <currojerez@riseup.net>
src/gallium/auxiliary/pipe-loader/pipe_loader.c
src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c

index 6a10ac3998d0c5741e03e3246d6241be9e140c1e..b1d928555628f796953854c7182ba583c9212c80 100644 (file)
@@ -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;
          }
       }
index 64bd921de02e46452f37bb1a9acf5c2d827ae408..6dedc413989901391549838889f977f759c1d818 100644 (file)
@@ -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;
 }