Index: uspace/app/bdsh/util.c
===================================================================
--- uspace/app/bdsh/util.c	(revision d364e94360c20325ba21bb69e6ac2542ade79708)
+++ uspace/app/bdsh/util.c	(revision 1d132ae9692ac9338b444c7d793baca54ce3e632)
@@ -69,33 +69,4 @@
 	cli_errno = CL_EOK;
 	return (char *) memcpy(ret, s1, len);
-}
-
-/*
- * Take a previously allocated string (s1), re-size it to accept s2 and copy
- * the contents of s2 into s1.
- * Return -1 on failure, or the length of the copied string on success.
- */
-size_t cli_redup(char **s1, const char *s2)
-{
-	size_t len;
-
-	if (s2 == NULL)
-		return -1;
-
-	len = strlen(s2) + 1;
-
-	*s1 = realloc(*s1, len);
-
-	if (*s1 == NULL) {
-		cli_errno = CL_ENOMEM;
-		return -1;
-	}
-
-	*s1[len] = '\0';
-
-	memcpy(*s1, s2, len);
-	cli_errno = CL_EOK;
-
-	return len;
 }
 
Index: uspace/app/bdsh/util.h
===================================================================
--- uspace/app/bdsh/util.h	(revision d364e94360c20325ba21bb69e6ac2542ade79708)
+++ uspace/app/bdsh/util.h	(revision 1d132ae9692ac9338b444c7d793baca54ce3e632)
@@ -6,5 +6,4 @@
 /* Internal string handlers */
 extern char * cli_strdup(const char *);
-extern size_t cli_redup(char **, const char *);
 extern char * cli_strtok_r(char *, const char *, char **);
 extern char * cli_strtok(char *, const char *);
