libdrm/nouveau: fix typo in nouveau_device_close()
parent
98b0df3953
commit
d6ad0dba01
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue