diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-04-17 22:57:51 (GMT) |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-05-16 00:50:07 (GMT) |
commit | eea55c89e504a4affe66367ba3ecbae16296d9ef (patch) | |
tree | 9b575d76cd4f9506d1f0dca98c5556ac3543015a /drivers/gpu/drm/nouveau | |
parent | 976661093dab143f164b81f15133724fa2a4bb86 (diff) | |
download | linux-fsl-qoriq-eea55c89e504a4affe66367ba3ecbae16296d9ef.tar.xz |
drm/nouveau: fix uninitialised variable warning
Looks like a false positive to me, but, anyways!
Reported-by: Jimmy Rentz <jb17bsome@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c index 8771677..38ea662 100644 --- a/drivers/gpu/drm/nouveau/nouveau_state.c +++ b/drivers/gpu/drm/nouveau/nouveau_state.c @@ -498,7 +498,7 @@ nouveau_card_init(struct drm_device *dev) { struct drm_nouveau_private *dev_priv = dev->dev_private; struct nouveau_engine *engine; - int ret, e; + int ret, e = 0; vga_client_register(dev->pdev, dev, NULL, nouveau_vga_set_decode); vga_switcheroo_register_client(dev->pdev, nouveau_switcheroo_set_state, |