libresource: cleaned up an error message.
authorIsmo Puustinen <ismo.puustinen@intel.com>
Thu, 3 Apr 2014 10:29:42 +0000 (13:29 +0300)
committerIsmo Puustinen <ismo.puustinen@intel.com>
Thu, 3 Apr 2014 10:29:42 +0000 (13:29 +0300)
src/plugins/resource-native/libmurphy-resource/resource.c

index 8a4ce17..e1d9dc7 100644 (file)
@@ -118,21 +118,10 @@ static void resource_event(mrp_msg_t *msg,
     rset = mrp_htbl_lookup(cx->priv->rset_mapping, u_to_p(rset_id));
 
     if (!rset) {
-        mrp_res_error("resource event outside the resource set lifecycle");
+        mrp_res_info("resource event outside the resource set lifecycle");
         goto malformed;
     }
 
-#if 0
-    switch (state) {
-        case RESPROTO_RELEASE:
-            rset->state = MRP_RES_RESOURCE_LOST;
-            break;
-        case RESPROTO_ACQUIRE:
-            rset->state = MRP_RES_RESOURCE_ACQUIRED;
-            break;
-    }
-#endif
-
     while (mrp_msg_iterate(msg, pcursor, &tag, &type, &value, &size)) {
 
         mrp_res_resource_t *res = NULL;