]> sourceware.org Git - lvm2.git/commitdiff
cov: add explicit ret value ignoring
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 14 Nov 2019 16:11:01 +0000 (17:11 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 14 Nov 2019 17:06:42 +0000 (18:06 +0100)
We don't need to check for any error result codes here.

lib/metadata/thin_manip.c

index f94797620f10fdf4d0c8e979976fb1e99e6bd97b..0704f2bc36f91f2348fc264a9b309c17d3561184 100644 (file)
@@ -503,11 +503,11 @@ int update_pool_lv(struct logical_volume *lv, int activate)
                         *   which Node has pool active.
                         */
                        if (!activate_lv(lv->vg->cmd, lv)) {
-                               init_dmeventd_monitor(monitored);
+                               (void) init_dmeventd_monitor(monitored);
                                return_0;
                        }
                        if (!lv_is_active(lv)) {
-                               init_dmeventd_monitor(monitored);
+                               (void) init_dmeventd_monitor(monitored);
                                log_error("Cannot activate thin pool %s, perhaps skipped in lvm.conf volume_list?",
                                          display_lvname(lv));
                                return 0;
This page took 0.034596 seconds and 5 git commands to generate.