Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

genksyms: remove the remnant of the -s option

Commit 74d931716151 ("genksyms: remove symbol prefix support") removed
the -s (--symbol-prefix) option.

Clean up the left-over.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

+2 -4
+2 -4
scripts/genksyms/genksyms.c
··· 719 719 { 720 720 fputs("Usage:\n" "genksyms [-adDTwqhVR] > /path/to/.tmp_obj.ver\n" "\n" 721 721 #ifdef __GNU_LIBRARY__ 722 - " -s, --symbol-prefix Select symbol prefix\n" 723 722 " -d, --debug Increment the debug level (repeatable)\n" 724 723 " -D, --dump Dump expanded symbol defs (for debugging only)\n" 725 724 " -r, --reference file Read reference symbols from a file\n" ··· 729 730 " -h, --help Print this message\n" 730 731 " -V, --version Print the release version\n" 731 732 #else /* __GNU_LIBRARY__ */ 732 - " -s Select symbol prefix\n" 733 733 " -d Increment the debug level (repeatable)\n" 734 734 " -D Dump expanded symbol defs (for debugging only)\n" 735 735 " -r file Read reference symbols from a file\n" ··· 761 763 {0, 0, 0, 0} 762 764 }; 763 765 764 - while ((o = getopt_long(argc, argv, "s:dwqVDr:T:ph", 766 + while ((o = getopt_long(argc, argv, "dwqVDr:T:ph", 765 767 &long_opts[0], NULL)) != EOF) 766 768 #else /* __GNU_LIBRARY__ */ 767 - while ((o = getopt(argc, argv, "s:dwqVDr:T:ph")) != EOF) 769 + while ((o = getopt(argc, argv, "dwqVDr:T:ph")) != EOF) 768 770 #endif /* __GNU_LIBRARY__ */ 769 771 switch (o) { 770 772 case 'd':