summaryrefslogtreecommitdiffhomepage
path: root/e2fsprogs/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs/util.c')
-rw-r--r--e2fsprogs/util.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/e2fsprogs/util.c b/e2fsprogs/util.c
index 537021df7..151af3211 100644
--- a/e2fsprogs/util.c
+++ b/e2fsprogs/util.c
@@ -110,14 +110,7 @@ void parse_journal_opts(char **journal_device, int *journal_flags,
{
char *buf, *token, *next, *p, *arg;
int journal_usage = 0;
-#if 0
- int len;
- len = strlen(opts);
- buf = xmalloc(len+1);
- strcpy(buf, opts);
-#else
buf = bb_xstrdup(opts);
-#endif
for (token = buf; token && *token; token = next) {
p = strchr(token, ',');
next = 0;