summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-03-13 19:52:56 +1000
committerDave Airlie <airlied@redhat.com>2010-03-13 19:52:56 +1000
commit563f31ad081038ece8b5a5b525dd516fcd6ad0fd (patch)
tree1e4d194c8183cd72e08a1756ab70587ed56e16aa
parentd9a142d60603920069f478890884f20cbd7886b3 (diff)
qxl: remove asserts that make no sense anymore
Not sure why nobody noticed these, once I dropped qxl into Fedora it asserted. Looks like they were missed when p->Private was changed to an index. Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--src/qxl_driver.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index 25fe59b..187e581 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -1231,9 +1231,6 @@ qxl_valid_mode(int scrn, DisplayModePtr p, Bool flag, int pass)
p->Private = (void *)(unsigned long)mode_idx;
- assert (((struct qxl_mode *)p->Private)->x_res == p->HDisplay);
- assert (((struct qxl_mode *)p->Private)->y_res == p->VDisplay);
-
return MODE_OK;
}