From d92d42303e5ca9f4208ed97823ad8f691121370f Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 4 Mar 2010 09:31:56 -0800 Subject: Remove pre-2.6.29 error message handling since we require KMS. --- src/i830_driver.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/i830_driver.c b/src/i830_driver.c index c65de286..33138d73 100644 --- a/src/i830_driver.c +++ b/src/i830_driver.c @@ -1390,15 +1390,9 @@ static Bool I830EnterVT(int scrnIndex, int flags) ret = drmSetMaster(intel->drmSubFD); if (ret) { - if (errno == EINVAL) { - xf86DrvMsg(scrn->scrnIndex, X_WARNING, - "drmSetMaster failed: 2.6.29 or newer kernel required for " - "multi-server DRI\n"); - } else { - xf86DrvMsg(scrn->scrnIndex, X_WARNING, - "drmSetMaster failed: %s\n", - strerror(errno)); - } + xf86DrvMsg(scrn->scrnIndex, X_WARNING, + "drmSetMaster failed: %s\n", + strerror(errno)); } if (!i830_reinit_memory(scrn)) -- cgit v1.2.3