summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nv50_sor.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2012-11-21 15:02:47 +1000
committerBen Skeggs <bskeggs@redhat.com>2012-11-29 09:56:36 +1000
commit9da49599a70eceac405287f34485ed57fe035393 (patch)
tree204a295710952d40ea24e136146a8ccf198aa485 /drivers/gpu/drm/nouveau/nv50_sor.c
parentd432a2db7df5d089bb022d8cbb30f6d6dc785039 (diff)
drm/nouveau: remove newline-only NV_DEBUG calls
This used to output the function name, now doesn't, so just looks stupid. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nv50_sor.c')
-rw-r--r--drivers/gpu/drm/nouveau/nv50_sor.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_sor.c b/drivers/gpu/drm/nouveau/nv50_sor.c
index b562b59e1326..9b903ca1d1b9 100644
--- a/drivers/gpu/drm/nouveau/nv50_sor.c
+++ b/drivers/gpu/drm/nouveau/nv50_sor.c
@@ -474,12 +474,8 @@ static void
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);
}
@@ -492,12 +488,9 @@ nv50_sor_create(struct drm_connector *connector, struct dcb_output *entry)
{
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: