Use strdup to copy strings
[openafs.git] / src / bozo / fsbnodeops.c
index ce2f446..7e569a3 100644 (file)
@@ -324,15 +324,6 @@ RestoreSalFlag(struct fsbnode *abnode)
     return 0;
 }
 
-char *
-copystr(char *a)
-{
-    char *b;
-    b = (char *)malloc(strlen(a) + 1);
-    strcpy(b, a);
-    return b;
-}
-
 static int
 fs_delete(struct bnode *bn)
 {