st/dri: unwrap/remove __NOT_HAVE_DRM_H magic
[mesa.git] / src / gallium / state_trackers / dri / dri_screen.h
index 6d46fea9684c0e91235bc13328efc63f0503953e..4bcb0291d86fe87b680378cac7a4f3fa8d38f2f7 100644 (file)
@@ -122,8 +122,6 @@ struct __DRIimageRec {
 
 };
 
-#ifndef __NOT_HAVE_DRM_H
-
 static inline boolean
 dri_with_format(__DRIscreen * sPriv)
 {
@@ -134,16 +132,6 @@ dri_with_format(__DRIscreen * sPriv)
        && (loader->getBuffersWithFormat != NULL);
 }
 
-#else
-
-static inline boolean
-dri_with_format(__DRIscreen * sPriv)
-{
-   return TRUE;
-}
-
-#endif
-
 void
 dri_fill_st_visual(struct st_visual *stvis, struct dri_screen *screen,
                    const struct gl_config *mode);