Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181869
b: refs/heads/master
c: 1c32fd0
h: refs/heads/master
i:
  181867: 897d36c
v: v3
  • Loading branch information
Ilya Dryomov authored and Linus Torvalds committed Feb 27, 2010
1 parent 53355e4 commit e48b26b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a9e7314b7940cee00b80995b360dbc06f995cc6e
refs/heads/master: 1c32fd0c5ac1ccbdc37a1a392a5d75cbe059b401
14 changes: 1 addition & 13 deletions trunk/scripts/kernel-doc
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ use strict;
## This software falls under the GNU General Public License. ##
## Please read the COPYING file for more information ##

# w.o. 03-11-2000: added the '-filelist' option.

# 18/01/2001 - Cleanups
# Functions prototyped as foo(void) same as foo()
# Stop eval'ing where we don't need to.
Expand Down Expand Up @@ -245,7 +243,7 @@ my $man_date = ('January', 'February', 'March', 'April', 'May', 'June',
# could cause "use of undefined value" or other bugs.
my ($function, %function_table, %parametertypes, $declaration_purpose);
my ($type, $declaration_name, $return_type);
my ($newsection, $newcontents, $prototype, $filelist, $brcount, %source_map);
my ($newsection, $newcontents, $prototype, $brcount, %source_map);

if (defined($ENV{'KBUILD_VERBOSE'})) {
$verbose = "$ENV{'KBUILD_VERBOSE'}";
Expand Down Expand Up @@ -338,8 +336,6 @@ while ($ARGV[0] =~ m/^-(.*)/) {
$verbose = 1;
} elsif (($cmd eq "-h") || ($cmd eq "--help")) {
usage();
} elsif ($cmd eq '-filelist') {
$filelist = shift @ARGV;
} elsif ($cmd eq '-no-doc-sections') {
$no_doc_sections = 1;
}
Expand Down Expand Up @@ -1811,14 +1807,6 @@ if (open(SOURCE_MAP, "<.tmp_filelist.txt")) {
close(SOURCE_MAP);
}

if ($filelist) {
open(FLIST,"<$filelist") or die "Can't open file list $filelist";
while(<FLIST>) {
chop;
process_file($_);
}
}

foreach (@ARGV) {
chomp;
process_file($_);
Expand Down

0 comments on commit e48b26b

Please sign in to comment.