summaryrefslogtreecommitdiff
path: root/managemon.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-06-19 12:31:45 +1000
committerNeilBrown <neilb@suse.de>2013-06-19 12:31:45 +1000
commit1011e8344a6b881883af57959cdd9ec7f9084407 (patch)
tree01680ce6a6696a200b534e4c434fe0078b8933d6 /managemon.c
parente6dd89da86813679fae44e472ea470a943f133e2 (diff)
Remove lots of unnecessary white space.
Now that I am using white-space mode in Emacs I can see all of this, and I don't like it :-) Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'managemon.c')
-rw-r--r--managemon.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/managemon.c b/managemon.c
index fc5548c0..f50f9547 100644
--- a/managemon.c
+++ b/managemon.c
@@ -343,7 +343,7 @@ static void manage_container(struct mdstat_ent *mdstat,
struct supertype *container)
{
/* Of interest here are:
- * - if a new device has been added to the container, we
+ * - if a new device has been added to the container, we
* add it to the array ignoring any metadata on it.
* - if a device has been removed from the container, we
* remove it from the device list and update the metadata.
@@ -639,7 +639,6 @@ static void manage_new(struct mdstat_ent *mdstat,
GET_LEVEL|GET_CHUNK|GET_DISKS|GET_COMPONENT|
GET_DEGRADED|GET_DEVS|GET_OFFSET|GET_SIZE|GET_STATE);
-
if (!mdi)
return;
new = xcalloc(1, sizeof(*new));
@@ -769,7 +768,7 @@ static void handle_message(struct supertype *container, struct metadata_update *
if (msg->len == 0) { /* ping_monitor */
int cnt;
-
+
cnt = monitor_loop_cnt;
if (cnt & 1)
cnt += 2; /* wait until next pselect */