From 2d7e602381f3c473d6c8214e8e56bcf80ccf9fa5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 3 Aug 2016 19:47:34 +0200 Subject: scripts/config: sync with latest linux upstream Signed-off-by: Felix Fietkau --- scripts/config/util.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'scripts/config/util.c') diff --git a/scripts/config/util.c b/scripts/config/util.c index 94f9c83e32..0e76042473 100644 --- a/scripts/config/util.c +++ b/scripts/config/util.c @@ -88,16 +88,6 @@ struct gstr str_new(void) return gs; } -/* Allocate and assign growable string */ -struct gstr str_assign(const char *s) -{ - struct gstr gs; - gs.s = strdup(s); - gs.len = strlen(s) + 1; - gs.max_width = 0; - return gs; -} - /* Free storage for growable string */ void str_free(struct gstr *gs) { -- cgit v1.2.3