--- zzzz-none-000/linux-3.10.107/scripts/kconfig/util.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/scripts/kconfig/util.c 2021-02-04 17:41:59.000000000 +0000 @@ -88,16 +88,6 @@ 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) { @@ -155,5 +145,3 @@ fprintf(stderr, "Out of memory.\n"); exit(1); } - -