Drop assert() in isDRI1Connected(). 77/477/1
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Wed, 9 Sep 2009 11:09:59 +0000 (11:09 +0000)
committerAustin Yuan <shengquan.yuan@intel.com>
Mon, 14 Sep 2009 06:37:30 +0000 (14:37 +0800)
src/x11/dri1_util.c

index b3db5b4..3e67e2a 100644 (file)
@@ -107,7 +107,6 @@ isDRI1Connected(VADriverContextP ctx, char **driver_name)
     
     dri_state->fd = drmOpenOnce(NULL, BusID, &newlyopened);
     XFree(BusID);
-    assert(dri_state->fd >= 0);
 
     if (dri_state->fd < 0)
         goto err_out1;