summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvc0_graph.c
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2011-01-31 08:26:04 +1000
committerBen Skeggs <bskeggs@redhat.com>2011-02-25 06:44:22 +1000
commitea5f2786a0942832f32deb7c507531b766028356 (patch)
tree9c55e5c063e46a30ef43c71402487b850859e74d /drivers/gpu/drm/nouveau/nvc0_graph.c
parentcb1d771aa03dd9f3980f08f1512d9434dd5bebfb (diff)
downloadblackbird-op-linux-ea5f2786a0942832f32deb7c507531b766028356.tar.gz
blackbird-op-linux-ea5f2786a0942832f32deb7c507531b766028356.zip
drm/nouveau: silence some compiler warnings
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvc0_graph.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvc0_graph.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvc0_graph.c b/drivers/gpu/drm/nouveau/nvc0_graph.c
index eb18a7e89f5b..afa7afe4ef92 100644
--- a/drivers/gpu/drm/nouveau/nvc0_graph.c
+++ b/drivers/gpu/drm/nouveau/nvc0_graph.c
@@ -640,7 +640,6 @@ nvc0_graph_init(struct drm_device *dev)
{
struct drm_nouveau_private *dev_priv = dev->dev_private;
struct nouveau_pgraph_engine *pgraph = &dev_priv->engine.graph;
- struct nvc0_graph_priv *priv;
int ret;
dev_priv->engine.graph.accel_blocked = true;
@@ -665,7 +664,6 @@ nvc0_graph_init(struct drm_device *dev)
if (ret)
return ret;
}
- priv = pgraph->priv;
nvc0_graph_init_obj418880(dev);
nvc0_graph_init_regs(dev);
OpenPOWER on IntegriCloud