diff options
-rw-r--r-- | util/scripts/maintainers.go | 39 |
1 files changed, 7 insertions, 32 deletions
diff --git a/util/scripts/maintainers.go b/util/scripts/maintainers.go index 03c7709c73..a45758147d 100644 --- a/util/scripts/maintainers.go +++ b/util/scripts/maintainers.go @@ -95,40 +95,15 @@ func build_maintainers(maintainers []string) { current.name = line } else { switch line[0] { - case 'R': - case 'M': - { - /* Add subsystem maintainer */ - current.maintainer = - append(current.maintainer, - line[3:len(line)]) - break - } - case 'S': - { - break - } - case 'L': - { - break - } - case 'T': - { - break - } + case 'R', 'M': + /* Add subsystem maintainer */ + current.maintainer = append(current.maintainer, line[3:len(line)]) case 'F': - { - // add files - current.file = - append(current.file, - line[3:len(line)]) - break - } + // add files + current.file = append(current.file, line[3:len(line)]) + case 'L', 'S', 'T', 'W': // ignore default: - { - fmt.Println("No such specifier: ", line) - break - } + fmt.Println("No such specifier: ", line) } } } |