VIGS & YaGL: Fixed the incorrect condition
authorjinhyung.jo <jinhyung.jo@samsung.com>
Tue, 21 Oct 2014 04:27:16 +0000 (13:27 +0900)
committerjinhyung.jo <jinhyung.jo@samsung.com>
Tue, 21 Oct 2014 04:32:02 +0000 (13:32 +0900)
Fix a wrong variable name, dobj -> wqobj.

Change-Id: I7dbd5e110e747343aeefb29c23ab4d28d35c873b
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
hw/vigs/vigs_device.c
hw/yagl/yagl_device.c

index 464bd10479960b5b3c57cc844d857dbd97399f67..c3185da198c04804db75c81a339b98fa0c6413b3 100644 (file)
@@ -336,7 +336,7 @@ static int vigs_device_init(PCIDevice *dev)
             return -1;
         }
 
-        if (!dobj) {
+        if (!wqobj) {
             error_report("unable to create work queue");
             return -1;
         }
index 8a8b07f9663e9c0de19198bfe7a76471e1dba6e0..de24498883b98e51a8b5d22050f9b1288ef1501c 100644 (file)
@@ -267,7 +267,7 @@ static int yagl_device_init(PCIDevice *dev)
             return -1;
         }
 
-        if (!dobj) {
+        if (!wqobj) {
             error_report("unable to create work queue");
             return -1;
         }