diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-01-31 01:26:04 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-02-24 23:44:22 +0300 |
commit | ea5f2786a0942832f32deb7c507531b766028356 (patch) | |
tree | 9c55e5c063e46a30ef43c71402487b850859e74d /drivers/gpu/drm/nouveau/nouveau_channel.c | |
parent | cb1d771aa03dd9f3980f08f1512d9434dd5bebfb (diff) | |
download | linux-ea5f2786a0942832f32deb7c507531b766028356.tar.xz |
drm/nouveau: silence some compiler warnings
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_channel.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_channel.c b/drivers/gpu/drm/nouveau/nouveau_channel.c index 3960d66d7aba..3d7b316c3bbd 100644 --- a/drivers/gpu/drm/nouveau/nouveau_channel.c +++ b/drivers/gpu/drm/nouveau/nouveau_channel.c @@ -35,7 +35,7 @@ nouveau_channel_pushbuf_ctxdma_init(struct nouveau_channel *chan) struct drm_nouveau_private *dev_priv = dev->dev_private; struct nouveau_bo *pb = chan->pushbuf_bo; struct nouveau_gpuobj *pushbuf = NULL; - int ret; + int ret = 0; if (dev_priv->card_type >= NV_50) { if (dev_priv->card_type < NV_C0) { |