drm2: Comment out i915_info_sysctl_handler()
authorFrançois Tigeot <ftigeot@wolfpond.org>
Tue, 30 Jul 2013 19:31:34 +0000 (21:31 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Tue, 30 Jul 2013 19:31:44 +0000 (21:31 +0200)
sys/dev/drm2/i915/i915_debug.c

index 7b42f34..f8145f8 100644 (file)
@@ -1591,6 +1591,7 @@ i915_info_sysctl_handler(SYSCTL_HANDLER_ARGS)
        dev_priv = dev->dev_private;
        if (dev_priv == NULL)
                return (EBUSY);
+#if 0
        error = sysctl_wire_old_buffer(req, 0);
        if (error != 0)
                return (error);
@@ -1600,6 +1601,9 @@ i915_info_sysctl_handler(SYSCTL_HANDLER_ARGS)
        if (error == 0)
                error = sbuf_finish(&m);
        sbuf_delete(&m);
+#else
+       error = 0;
+#endif
        return (error);
 }