summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-09-09 11:09:59 +0000
committerAustin Yuan <shengquan.yuan@intel.com>2009-09-14 14:37:30 +0800
commit599673fbbf652ab1bce6da309a6811c835512190 (patch)
treee7e9ecbf942d67639c5e92d22a9359dff4f158b2
parent5e40eae662628671bd01af5a017a2330f5a065d6 (diff)
downloadlibva-599673fbbf652ab1bce6da309a6811c835512190.tar.gz
Drop assert() in isDRI1Connected().
-rw-r--r--src/x11/dri1_util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/x11/dri1_util.c b/src/x11/dri1_util.c
index b3db5b4..3e67e2a 100644
--- a/src/x11/dri1_util.c
+++ b/src/x11/dri1_util.c
@@ -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;