summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/util.c
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2015-02-24 16:32:09 +0100
committerMichal Marek <mmarek@suse.cz>2015-02-25 15:00:16 +0100
commit463157444e377bf9b279101b1f16a94c4648c03a (patch)
tree91d6a75fb0d7a366dac5047e11af25b6f0b6c0cc /scripts/kconfig/util.c
parentkconfig: Get rid of the P() macro in headers (diff)
downloadlinux-463157444e377bf9b279101b1f16a94c4648c03a.tar.xz
linux-463157444e377bf9b279101b1f16a94c4648c03a.zip
kconfig: Remove dead code
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/kconfig/util.c')
-rw-r--r--scripts/kconfig/util.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/scripts/kconfig/util.c b/scripts/kconfig/util.c
index 94f9c83e324f..0e76042473cc 100644
--- a/scripts/kconfig/util.c
+++ b/scripts/kconfig/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)
{