summaryrefslogtreecommitdiffstats
path: root/sysfs.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-06-19 04:31:45 +0200
committerNeilBrown <neilb@suse.de>2013-06-19 04:31:45 +0200
commit1011e8344a6b881883af57959cdd9ec7f9084407 (patch)
tree01680ce6a6696a200b534e4c434fe0078b8933d6 /sysfs.c
parentManage: allow "--stop" on kernel names. (diff)
downloadmdadm-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 'sysfs.c')
-rw-r--r--sysfs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysfs.c b/sysfs.c
index cb25a413..5512a302 100644
--- a/sysfs.c
+++ b/sysfs.c
@@ -88,7 +88,6 @@ void sysfs_init(struct mdinfo *mdi, int fd, char *devnm)
strcpy(mdi->sys_name, devnm);
}
-
struct mdinfo *sysfs_read(int fd, char *devnm, unsigned long options)
{
char fname[PATH_MAX];
@@ -456,7 +455,7 @@ int sysfs_uevent(struct mdinfo *sra, char *event)
return -1;
}
return 0;
-}
+}
int sysfs_attribute_available(struct mdinfo *sra, struct mdinfo *dev, char *name)
{
@@ -771,7 +770,6 @@ int sysfs_disk_to_scsi_id(int fd, __u32 *id)
return 0;
}
-
int sysfs_unique_holder(char *devnm, long rdev)
{
/* Check that devnm is a holder of rdev,