OSDN Git Service

Remove some debugging messages.
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Tue, 17 Oct 2006 18:04:41 +0000 (20:04 +0200)
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Tue, 17 Oct 2006 18:04:41 +0000 (20:04 +0200)
libdrm/xf86drm.c

index 5c799b6..9047c8d 100644 (file)
@@ -2786,16 +2786,11 @@ int drmBOMap(int fd, drmBO *buf, unsigned mapFlags, unsigned mapHint,
                       fd, buf->mapHandle);
        if (virtual == MAP_FAILED) {
            ret = -errno;
-           fprintf(stderr, "Map error 0x%016llx\n", buf->mapHandle);
        }
        if (ret) 
            return ret;
        buf->mapVirtual = virtual;
        buf->virtual = ((char *) virtual) + buf->start;
-#ifdef BODEBUG
-       fprintf(stderr,"Mapvirtual, virtual: 0x%08x 0x%08x\n", 
-               buf->mapVirtual, buf->virtual);
-#endif
     }
 
     memset(&arg, 0, sizeof(arg));