libdrm/nouveau: fix typo in nouveau_device_close()

main
Ben Skeggs 2009-03-25 08:10:12 +10:00
parent 98b0df3953
commit d6ad0dba01
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ nouveau_device_close(struct nouveau_device **dev)
{ {
struct nouveau_device_priv *nvdev; struct nouveau_device_priv *nvdev;
if (dev || !*dev) if (!dev || !*dev)
return; return;
nvdev = nouveau_device(*dev); nvdev = nouveau_device(*dev);
*dev = NULL; *dev = NULL;