Linux: NameServer_daemon: Check All Remote Cores Even if One Core is in Bad State
[ipc/ipcdev.git] / linux / src / daemon / NameServer_daemon.c
index 288b39ebf009c55d5e7d44a572202d8d2c7919f0..c1a58f08e31184fb634ea3868bfc7a92e945d564 100644 (file)
@@ -1206,9 +1206,7 @@ Int NameServer_get(NameServer_Handle handle,
                 status = NameServer_getRemote(handle, name, value, len,
                         baseId + clusterId);
 
-                if ((status >= 0) ||
-                    ((status < 0) && (status != NameServer_E_NOTFOUND) &&
-                                     (status != NameServer_E_RESOURCE))) {
+                if (status >= 0) {
                     break;
                 }
             }
@@ -1229,9 +1227,7 @@ Int NameServer_get(NameServer_Handle handle,
                         procId[i]);
             }
 
-            if ((status >= 0) ||
-                ((status < 0) && (status != NameServer_E_NOTFOUND) &&
-                                 (status != NameServer_E_RESOURCE))) {
+            if (status >= 0) {
                 break;
             }