aboutsummaryrefslogtreecommitdiff
path: root/libdrm/nouveau
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2009-03-25 08:10:12 +1000
committerBen Skeggs <bskeggs@redhat.com>2009-03-25 08:10:12 +1000
commitd6ad0dba01a8246b9e7c96388f747c8ed9631ce4 (patch)
tree67c2fdeae801631b17939120c685292a8dbd0349 /libdrm/nouveau
parent98b0df3953f229fd5fb7484d2f566aeb0443c12f (diff)
libdrm/nouveau: fix typo in nouveau_device_close()
Diffstat (limited to 'libdrm/nouveau')
-rw-r--r--libdrm/nouveau/nouveau_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdrm/nouveau/nouveau_device.c b/libdrm/nouveau/nouveau_device.c
index c6b24462..a61abb42 100644
--- a/libdrm/nouveau/nouveau_device.c
+++ b/libdrm/nouveau/nouveau_device.c
@@ -144,7 +144,7 @@ nouveau_device_close(struct nouveau_device **dev)
{
struct nouveau_device_priv *nvdev;
- if (dev || !*dev)
+ if (!dev || !*dev)
return;
nvdev = nouveau_device(*dev);
*dev = NULL;