multipathd: stop_waiter_thread(): removed unused parameter
authorMartin Wilck <mwilck@suse.com>
Sat, 12 Oct 2019 21:28:13 +0000 (21:28 +0000)
committerChristophe Varoqui <christophe.varoqui@opensvc.com>
Mon, 2 Mar 2020 08:17:38 +0000 (09:17 +0100)
Signed-off-by: Martin Wilck <mwilck@suse.com>
multipathd/main.c
multipathd/waiter.c
multipathd/waiter.h

index ef128a3..43ae42d 100644 (file)
@@ -377,7 +377,7 @@ remove_map_and_stop_waiter(struct multipath *mpp, struct vectors *vecs)
         * so they don't need to be manually removed here */
        condlog(3, "%s: removing map from internal tables", mpp->alias);
        if (!poll_dmevents)
-               stop_waiter_thread(mpp, vecs);
+               stop_waiter_thread(mpp);
        remove_map(mpp, vecs, PURGE_VEC);
 }
 
@@ -392,7 +392,7 @@ remove_maps_and_stop_waiters(struct vectors *vecs)
 
        if (!poll_dmevents) {
                vector_foreach_slot(vecs->mpvec, mpp, i)
-                       stop_waiter_thread(mpp, vecs);
+                       stop_waiter_thread(mpp);
        }
        else
                unwatch_all_dmevents();
index eb8d699..e645766 100644 (file)
@@ -49,7 +49,7 @@ static void free_waiter (void *data)
        FREE(wp);
 }
 
-void stop_waiter_thread (struct multipath *mpp, struct vectors *vecs)
+void stop_waiter_thread (struct multipath *mpp)
 {
        pthread_t thread;
 
index 0cfae46..28e0f6d 100644 (file)
@@ -11,7 +11,7 @@ struct event_thread {
        struct vectors *vecs;
 };
 
-void stop_waiter_thread (struct multipath *mpp, struct vectors *vecs);
+void stop_waiter_thread (struct multipath *mpp);
 int start_waiter_thread (struct multipath *mpp, struct vectors *vecs);
 
 #endif /* _WAITER_H */