diff options
author | Adam Jackson <ajax@redhat.com> | 2009-07-16 10:51:53 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-07-17 15:03:56 -0400 |
commit | 087745b809b9a834751e5c719b9d87967194369b (patch) | |
tree | 58e13a9f0cb974c39f593ed4770f6069259cb0ae /hw/xfree86 | |
parent | 892c93553aa0b03aeb3f4c27d952cc4bb7120aff (diff) |
fbdevhw: Remove pointless OS check, this never gets built on non-Linux
Diffstat (limited to 'hw/xfree86')
-rw-r--r-- | hw/xfree86/fbdevhw/fbdevhw.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/hw/xfree86/fbdevhw/fbdevhw.c b/hw/xfree86/fbdevhw/fbdevhw.c index 213b24630..00ebd6b39 100644 --- a/hw/xfree86/fbdevhw/fbdevhw.c +++ b/hw/xfree86/fbdevhw/fbdevhw.c @@ -59,20 +59,7 @@ _X_EXPORT XF86ModuleData fbdevhwModuleData = { static pointer fbdevhwSetup(pointer module, pointer opts, int *errmaj, int *errmin) { - const char *osname; - - /* Check that we're being loaded on a Linux system */ - LoaderGetOS(&osname, NULL, NULL, NULL); - if (!osname || strcmp(osname, "linux") != 0) { - if (errmaj) - *errmaj = LDR_BADOS; - if (errmin) - *errmin = 0; - return NULL; - } else { - /* OK */ - return (pointer)1; - } + return (pointer)1; } #include <fcntl.h> |