From d6ad0dba01a8246b9e7c96388f747c8ed9631ce4 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Wed, 25 Mar 2009 08:10:12 +1000 Subject: libdrm/nouveau: fix typo in nouveau_device_close() --- libdrm/nouveau/nouveau_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdrm/nouveau') 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; -- cgit v1.2.3