diff options
author | Neil Brown <neilb@suse.de> | 2008-07-12 20:27:40 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-07-12 20:27:40 +1000 |
commit | 2f64e61a507ee4c1a8e2fcdbc2ce0ec89fcb7902 (patch) | |
tree | ae7a300dac6b637f8bc3525449b4b45f6c3f941d /managemon.c | |
parent | f94d52f43ea70665f0293de0fe8940d64931e893 (diff) | |
download | mdadm-2f64e61a507ee4c1a8e2fcdbc2ce0ec89fcb7902.tar.gz mdadm-2f64e61a507ee4c1a8e2fcdbc2ce0ec89fcb7902.tar.xz mdadm-2f64e61a507ee4c1a8e2fcdbc2ce0ec89fcb7902.zip |
Remove mon_pipe for communicating from monitor to manager
The returned value was never used, and we don't really want
this return path anyway as writing to a pipe could conceivably
block, and the monitor must not block.
Diffstat (limited to 'managemon.c')
-rw-r--r-- | managemon.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/managemon.c b/managemon.c index 569449b..e7c60aa 100644 --- a/managemon.c +++ b/managemon.c @@ -152,7 +152,6 @@ static void write_wakeup(struct supertype *c) /* send the monitor thread a pointer to the ping action */ write(c->mgr_pipe[1], &err, 1); - read(c->mon_pipe[0], &err, 1); } static void remove_old(void) |