summaryrefslogtreecommitdiffstats
path: root/include/swapheader.h
diff options
context:
space:
mode:
authorSami Kerola2014-11-02 21:26:26 +0100
committerKarel Zak2014-11-07 13:21:05 +0100
commitc181617cfbe9e442b66de35fd45ffffc0c85500a (patch)
treebb762bcaabbed36afa357fbaf210a1da6b36ce25 /include/swapheader.h
parentmkswap: remove system architecture specific max swap size checks (diff)
downloadkernel-qcow2-util-linux-c181617cfbe9e442b66de35fd45ffffc0c85500a.tar.gz
kernel-qcow2-util-linux-c181617cfbe9e442b66de35fd45ffffc0c85500a.tar.xz
kernel-qcow2-util-linux-c181617cfbe9e442b66de35fd45ffffc0c85500a.zip
mkswap: remove unnecessary size check
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'include/swapheader.h')
-rw-r--r--include/swapheader.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/swapheader.h b/include/swapheader.h
index 1d91e41ce..3fce0d0fb 100644
--- a/include/swapheader.h
+++ b/include/swapheader.h
@@ -20,6 +20,4 @@ struct swap_header_v1_2 {
uint32_t badpages[1];
};
-#define SWAP_HEADER_SIZE (sizeof(struct swap_header_v1_2))
-
#endif /* _SWAPHEADER_H */