multipath-tools: delete trailing whitespaces
PATCH 1/1 multipath-tools: delete trailing whitespaces
Cc Christophe Varoqui <[email protected]>
Cc DM-DEV ML <[email protected]>
Signed-off-by Xose Vazquez Perez <[email protected]>
--- libmultipath/checkers/tur.c | 2 +- tests/dmevents.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
libmultipath/checkers/tur.c +1 -1
@@ -334,7 +334,7 @@ int libcheck_check(struct checker * c)tur_timeout (&tsp);pthread_mutex_lock (&ct->lock);if (ct->state ==PATH_PENDING ) - r =pthread_cond_timedwait (&ct->active, &ct->lock, + r =pthread_cond_timedwait (&ct->active, &ct->lock, &tsp);if (!r) { tur_status = ct->state;
tests/dmevents.c +1 -1
@@ -465,7 +465,7 @@ static void test_watch_dmevents_good1(void **state)skip ();remove_all_dm_device_events (); -assert_int_equal (add_dm_device_event ("foo" ,1 ,5 ),0 ); +assert_int_equal (add_dm_device_event ("foo" ,1 ,5 ),0 );will_return (__wrap_dm_geteventnr,0 );assert_int_equal (watch_dmevents ("foo" ),0 ); dev_evt =find_dmevents ("foo" );
Signature · 1 line
2.17.2
Quoted 7 lines · Xose Vazquez Perez
Cc Christophe Varoqui <[email protected]>Cc DM-DEV ML <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>--- libmultipath/checkers/tur.c | 2 +- tests/dmevents.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Nack. This just pollutes git history and "git blame" output.
Let's just try not to add more whitespace issues with new patches, and fix issues in exisiting code when we need to touch it anyway.
Martin