Skip to contentSkip to conversation

multipath-tools: delete trailing whitespaces

PATCH In review Xose Vazquez Perez 2 participants 2 messages Oct 10, 2018 – Oct 24, 2018 Device mapper

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 multipath-tools: delete trailing whitespaces

Cc Christophe Varoqui <[email protected]>
Cc DM-DEV ML <[email protected]>
---
 libmultipath/checkers/tur.c | 2 +-
 tests/dmevents.c            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
libmultipath/checkers/tur.c +1 -1
index 86c0cdc..5aeec6f 100644
@@ -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
index 3399c81..bee117a 100644
@@ -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
#1 lore raw
Quoted 7 lines · Xose Vazquez Perez
Cc Christophe Varoqui <[email protected]>
Cc DM-DEV ML <[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