VIGS & YaGL: Fixed the incorrect condition 73/29073/1
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 05:32:16 +0000 (14: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 464bd10..c3185da 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 8a8b07f..de24498 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;
         }