summaryrefslogtreecommitdiff
path: root/misc-utils
diff options
context:
space:
mode:
Diffstat (limited to 'misc-utils')
-rw-r--r--misc-utils/wipefs.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/misc-utils/wipefs.c b/misc-utils/wipefs.c
index 2f223f0c..d3033446 100644
--- a/misc-utils/wipefs.c
+++ b/misc-utils/wipefs.c
@@ -136,15 +136,6 @@ add_offset(struct wipe_desc *wp0, loff_t offset, int zap)
return wp;
}
-static inline char *
-xstrdup(const char *s)
-{
- char *x = strdup(s);
- if (!x)
- err(EXIT_FAILURE, _("strdup failed"));
- return x;
-}
-
static struct wipe_desc *
get_offset_from_probe(struct wipe_desc *wp, blkid_probe pr, int zap)
{