dev  = nv_connector->base.dev;
        drm  = nouveau_drm(dev);
        gpio = nouveau_gpio(drm->device);
-       NV_DEBUG(drm, "\n");
 
        if (gpio && nv_connector->hpd != DCB_GPIO_UNUSED) {
                gpio->isr_del(gpio, 0, nv_connector->hpd, 0xff,
        int type, ret = 0;
        bool dummy;
 
-       NV_DEBUG(drm, "\n");
-
        list_for_each_entry(connector, &dev->mode_config.connector_list, head) {
                nv_connector = nouveau_connector(connector);
                if (nv_connector->index == index)
 
        struct nv04_display *disp;
        int i, ret;
 
-       NV_DEBUG(drm, "\n");
-
        disp = kzalloc(sizeof(*disp), GFP_KERNEL);
        if (!disp)
                return -ENOMEM;
 void
 nv04_display_destroy(struct drm_device *dev)
 {
-       struct nouveau_drm *drm = nouveau_drm(dev);
        struct nv04_display *disp = nv04_display(dev);
        struct drm_encoder *encoder;
        struct drm_crtc *crtc;
 
-       NV_DEBUG(drm, "\n");
-
        /* Turn every CRTC off. */
        list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
                struct drm_mode_set modeset = {
 
 static void
 nv50_crtc_lut_load(struct drm_crtc *crtc)
 {
-       struct nouveau_drm *drm = nouveau_drm(crtc->dev);
        struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc);
        void __iomem *lut = nvbo_kmap_obj_iovirtual(nv_crtc->lut.nvbo);
        int i;
 
-       NV_DEBUG(drm, "\n");
-
        for (i = 0; i < 256; i++) {
                writew(nv_crtc->lut.r[i] >> 2, lut + 8*i + 0);
                writew(nv_crtc->lut.g[i] >> 2, lut + 8*i + 2);
        int scaling_mode, ret;
        u32 ctrl = 0, oX, oY;
 
-       NV_DEBUG(drm, "\n");
-
        nv_connector = nouveau_crtc_connector_get(nv_crtc);
        if (!nv_connector || !nv_connector->native_mode) {
                NV_ERROR(drm, "no native mode, forcing panel scaling\n");
 nv50_crtc_destroy(struct drm_crtc *crtc)
 {
        struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc);
-       struct nouveau_drm *drm = nouveau_drm(crtc->dev);
-
-       NV_DEBUG(drm, "\n");
 
        nouveau_bo_unmap(nv_crtc->lut.nvbo);
        nouveau_bo_ref(NULL, &nv_crtc->lut.nvbo);
 int
 nv50_crtc_create(struct drm_device *dev, int index)
 {
-       struct nouveau_drm *drm = nouveau_drm(dev);
        struct nouveau_crtc *nv_crtc = NULL;
        int ret, i;
 
-       NV_DEBUG(drm, "\n");
-
        nv_crtc = kzalloc(sizeof(*nv_crtc), GFP_KERNEL);
        if (!nv_crtc)
                return -ENOMEM;
 
        struct nouveau_channel *evo = nv50_display(dev)->master;
        int ret;
 
-       NV_DEBUG(drm, "\n");
-
        if (update && nv_crtc->cursor.visible)
                return;
 
        struct nouveau_channel *evo = nv50_display(dev)->master;
        int ret;
 
-       NV_DEBUG(drm, "\n");
-
        if (update && !nv_crtc->cursor.visible)
                return;
 
 
 nv50_dac_destroy(struct drm_encoder *encoder)
 {
        struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder);
-       struct nouveau_drm *drm = nouveau_drm(encoder->dev);
 
        if (!encoder)
                return;
 
-       NV_DEBUG(drm, "\n");
-
        drm_encoder_cleanup(encoder);
        kfree(nv_encoder);
 }
 
        int ret, i;
        u32 val;
 
-       NV_DEBUG(drm, "\n");
-
        nv_wr32(device, 0x00610184, nv_rd32(device, 0x00614004));
 
        /*
        struct drm_crtc *drm_crtc;
        int ret, i;
 
-       NV_DEBUG(drm, "\n");
-
        list_for_each_entry(drm_crtc, &dev->mode_config.crtc_list, head) {
                struct nouveau_crtc *crtc = nouveau_crtc(drm_crtc);
 
        struct nv50_display *priv;
        int ret, i;
 
-       NV_DEBUG(drm, "\n");
-
        priv = kzalloc(sizeof(*priv), GFP_KERNEL);
        if (!priv)
                return -ENOMEM;
 
 nv50_sor_destroy(struct drm_encoder *encoder)
 {
        struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder);
-       struct nouveau_drm *drm = nouveau_drm(encoder->dev);
-
-       NV_DEBUG(drm, "\n");
 
        drm_encoder_cleanup(encoder);
-
        kfree(nv_encoder);
 }
 
 {
        struct nouveau_encoder *nv_encoder = NULL;
        struct drm_device *dev = connector->dev;
-       struct nouveau_drm *drm = nouveau_drm(dev);
        struct drm_encoder *encoder;
        int type;
 
-       NV_DEBUG(drm, "\n");
-
        switch (entry->type) {
        case DCB_OUTPUT_TMDS:
        case DCB_OUTPUT_DP: