diff options
author | NeilBrown <neilb@suse.de> | 2013-06-19 04:31:45 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-06-19 04:31:45 +0200 |
commit | 1011e8344a6b881883af57959cdd9ec7f9084407 (patch) | |
tree | 01680ce6a6696a200b534e4c434fe0078b8933d6 /config.c | |
parent | Manage: allow "--stop" on kernel names. (diff) | |
download | mdadm-1011e8344a6b881883af57959cdd9ec7f9084407.tar.xz mdadm-1011e8344a6b881883af57959cdd9ec7f9084407.zip |
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 'config.c')
-rw-r--r-- | config.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -147,7 +147,6 @@ void free_line(char *line) dl_free(line); } - struct conf_dev { struct conf_dev *next; char *name; @@ -417,7 +416,7 @@ void arrayline(char *line) if (strcasecmp(w, "<ignore>") == 0 || strncmp(w, "/dev/md/", 8) == 0 || (w[0] != '/' && w[0] != '<') || - (strncmp(w, "/dev/md", 7) == 0 && + (strncmp(w, "/dev/md", 7) == 0 && is_number(w+7)) || (strncmp(w, "/dev/md_d", 9) == 0 && is_number(w+9)) @@ -568,7 +567,6 @@ void mailfromline(char *line) } } - static char *alert_program = NULL; void programline(char *line) { @@ -987,7 +985,6 @@ int devname_matches(char *name, char *match) else if (strncmp(match, "/dev/", 5) == 0) match += 5; - if (strncmp(name, "md", 2) == 0 && isdigit(name[2])) name += 2; |