summaryrefslogtreecommitdiff
path: root/util-linux/mkswap.c
diff options
context:
space:
mode:
author"Robert P. J. Day"2006-07-01 14:34:33 +0000
committer"Robert P. J. Day"2006-07-01 14:34:33 +0000
commit53f21e34a7765c74afab1a8867f4965fb981edb7 (patch)
treeb09fef7da3022788ce9a8e4bd8bab23473bbf297 /util-linux/mkswap.c
parent177c9f312829d5932a798a8e2c8f6feea1a8b8d5 (diff)
downloadbusybox-53f21e34a7765c74afab1a8867f4965fb981edb7.zip
busybox-53f21e34a7765c74afab1a8867f4965fb981edb7.tar.gz
Remove "#if 0" content.
Diffstat (limited to 'util-linux/mkswap.c')
-rw-r--r--util-linux/mkswap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/util-linux/mkswap.c b/util-linux/mkswap.c
index b48d1f0..986472e 100644
--- a/util-linux/mkswap.c
+++ b/util-linux/mkswap.c
@@ -312,9 +312,6 @@ int mkswap_main(int argc, char **argv)
PAGES = sz;
}
-#if 0
- maxpages = ((version == 0) ? V0_MAX_PAGES : V1_MAX_PAGES);
-#else
if (!version)
maxpages = V0_MAX_PAGES;
else if (get_linux_version_code() >= KERNEL_VERSION(2,2,1))
@@ -324,7 +321,6 @@ int mkswap_main(int argc, char **argv)
if (maxpages > V1_MAX_PAGES)
maxpages = V1_MAX_PAGES;
}
-#endif
if (PAGES > maxpages) {
PAGES = maxpages;
bb_error_msg("warning: truncating swap area to %ldkB",