summaryrefslogtreecommitdiffstats
path: root/sys-utils/swapon.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/swapon.c')
-rw-r--r--sys-utils/swapon.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys-utils/swapon.c b/sys-utils/swapon.c
index 914e69ad4..48ec5eaac 100644
--- a/sys-utils/swapon.c
+++ b/sys-utils/swapon.c
@@ -649,9 +649,6 @@ static int parse_options(struct swapon_ctl *ctl)
char *arg = NULL;
assert(ctl->options);
- assert(ctl->priority);
- assert(ctl->discard);
- assert(ctl->no_fail);
if (mnt_optstr_get_option(ctl->options, "nofail", NULL, 0) == 0)
ctl->no_fail = 1;