diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-01-18 15:30:01 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2016-01-18 15:30:01 +0000 |
commit | 89d46bfc9e1dae39c535341194af0eb4e653af0a (patch) | |
tree | f49a53d240c339782ee6ac25fa85be3c8b7248b0 /sbin/pdisk/partition_map.c | |
parent | 4f1ec74efe4e332da7b29fa0794c6a1184873637 (diff) |
os_reload_file_media() doesn't do anything except tell you if you passed it
a NULL pointer. And the result is ignored. Nuke it. This removes the only
use of the 'regular_file' field of struct file_media. So nuke that too.
Diffstat (limited to 'sbin/pdisk/partition_map.c')
-rw-r--r-- | sbin/pdisk/partition_map.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/pdisk/partition_map.c b/sbin/pdisk/partition_map.c index 53533abc98e..dafc0483199 100644 --- a/sbin/pdisk/partition_map.c +++ b/sbin/pdisk/partition_map.c @@ -1,4 +1,4 @@ -/* $OpenBSD: partition_map.c,v 1.38 2016/01/18 02:50:01 krw Exp $ */ +/* $OpenBSD: partition_map.c,v 1.39 2016/01/18 15:30:00 krw Exp $ */ /* * partition_map.c - partition map routines @@ -295,8 +295,6 @@ write_partition_map(struct partition_map_header * map) warn("Unable to write block %d", i); } } - - os_reload_file_media(map->m); } |