From 6b5bc77c9b22c398262ff3f4dae3e14904c57366 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sun, 10 May 2020 16:41:01 +0200 Subject: treewide: Remove "this file is part of" lines Stefan thinks they don't add value. Command used: sed -i -e '/file is part of /d' $(git grep "file is part of " |egrep ":( */\*.*\*/\$|#|;#|-- | *\* )" | cut -d: -f1 |grep -v crossgcc |grep -v gcov | grep -v /elf.h |grep -v nvramtool) The exceptions are for: - crossgcc (patch file) - gcov (imported from gcc) - elf.h (imported from GNU's libc) - nvramtool (more complicated header) The removed lines are: - fmt.Fprintln(f, "/* This file is part of the coreboot project. */") -# This file is part of a set of unofficial pre-commit hooks available -/* This file is part of coreboot */ -# This file is part of msrtool. -/* This file is part of msrtool. */ - * This file is part of ncurses, designed to be appended after curses.h.in -/* This file is part of pgtblgen. */ - * This file is part of the coreboot project. - /* This file is part of the coreboot project. */ -# This file is part of the coreboot project. -# This file is part of the coreboot project. -## This file is part of the coreboot project. --- This file is part of the coreboot project. -/* This file is part of the coreboot project */ -/* This file is part of the coreboot project. */ -;## This file is part of the coreboot project. -# This file is part of the coreboot project. It originated in the - * This file is part of the coreinfo project. -## This file is part of the coreinfo project. - * This file is part of the depthcharge project. -/* This file is part of the depthcharge project. */ -/* This file is part of the ectool project. */ - * This file is part of the GNU C Library. - * This file is part of the libpayload project. -## This file is part of the libpayload project. -/* This file is part of the Linux kernel. */ -## This file is part of the superiotool project. -/* This file is part of the superiotool project */ -/* This file is part of uio_usbdebug */ Change-Id: I82d872b3b337388c93d5f5bf704e9ee9e53ab3a9 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/c/coreboot/+/41194 Reviewed-by: HAOUAS Elyes Tested-by: build bot (Jenkins) --- util/lint/check-style | 1 - util/lint/kconfig_lint | 1 - util/lint/lint | 1 - util/lint/lint-000-license-headers | 1 - util/lint/lint-001-no-global-config-in-romstage | 1 - util/lint/lint-007-checkpatch | 1 - util/lint/lint-008-kconfig | 1 - util/lint/lint-014-qualified-types | 1 - util/lint/lint-extended-007-checkpatch | 1 - util/lint/lint-extended-015-final-newlines | 1 - util/lint/lint-extended-020-signed-off-by | 1 - util/lint/lint-stable-000-license-headers | 1 - util/lint/lint-stable-003-whitespace | 1 - util/lint/lint-stable-004-style-labels | 1 - util/lint/lint-stable-005-board-status | 1 - util/lint/lint-stable-006-board-name | 1 - util/lint/lint-stable-008-kconfig | 1 - util/lint/lint-stable-009-old-licenses | 1 - util/lint/lint-stable-010-asm-syntax | 1 - util/lint/lint-stable-012-executable-bit | 1 - util/lint/lint-stable-013-site-local | 1 - util/lint/lint-stable-016-non-ascii | 1 - util/lint/lint-stable-017-configs | 1 - util/lint/lint-stable-018-symlinks | 1 - util/lint/lint-stable-019-header-files | 1 - util/lint/lint-stable-021-coreboot-lowercase | 1 - util/lint/lint-stable-022-clang-format | 1 - util/lint/lint-stable-023-filenames | 1 - 28 files changed, 28 deletions(-) (limited to 'util/lint') diff --git a/util/lint/check-style b/util/lint/check-style index 5d21b8b2e3..06b950bcea 100755 --- a/util/lint/check-style +++ b/util/lint/check-style @@ -5,7 +5,6 @@ # - create a patch of the proposed style changes # # modifications for clang-format by rene.milk@wwu.de -# This file is part of a set of unofficial pre-commit hooks available # at github. # Link: https://github.com/githubbrowser/Pre-commit-hooks # Contact: David Martin, david.martin.mailbox@googlemail.com diff --git a/util/lint/kconfig_lint b/util/lint/kconfig_lint index cd4c9a2f3b..8ee6416a31 100755 --- a/util/lint/kconfig_lint +++ b/util/lint/kconfig_lint @@ -1,5 +1,4 @@ #!/usr/bin/env perl -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint b/util/lint/lint index 1420b41a1c..a8c08d5370 100755 --- a/util/lint/lint +++ b/util/lint/lint @@ -1,6 +1,5 @@ #!/bin/sh # -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-000-license-headers b/util/lint/lint-000-license-headers index 3757f37fe6..a1ee3e7117 100755 --- a/util/lint/lint-000-license-headers +++ b/util/lint/lint-000-license-headers @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-001-no-global-config-in-romstage b/util/lint/lint-001-no-global-config-in-romstage index 79293ebfff..1ed55e0ca7 100755 --- a/util/lint/lint-001-no-global-config-in-romstage +++ b/util/lint/lint-001-no-global-config-in-romstage @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-007-checkpatch b/util/lint/lint-007-checkpatch index a56c62b94b..f78454198f 100755 --- a/util/lint/lint-007-checkpatch +++ b/util/lint/lint-007-checkpatch @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-008-kconfig b/util/lint/lint-008-kconfig index 948031a34c..1adb68fafa 100755 --- a/util/lint/lint-008-kconfig +++ b/util/lint/lint-008-kconfig @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-014-qualified-types b/util/lint/lint-014-qualified-types index 4a56dd6deb..8da23b6d1f 100755 --- a/util/lint/lint-014-qualified-types +++ b/util/lint/lint-014-qualified-types @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-extended-007-checkpatch b/util/lint/lint-extended-007-checkpatch index aa16caf2d6..20ef6c48e1 100755 --- a/util/lint/lint-extended-007-checkpatch +++ b/util/lint/lint-extended-007-checkpatch @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-extended-015-final-newlines b/util/lint/lint-extended-015-final-newlines index 67aa27ee92..74f1f03ecc 100755 --- a/util/lint/lint-extended-015-final-newlines +++ b/util/lint/lint-extended-015-final-newlines @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-extended-020-signed-off-by b/util/lint/lint-extended-020-signed-off-by index 7700b3a52f..f60a5c3eb3 100755 --- a/util/lint/lint-extended-020-signed-off-by +++ b/util/lint/lint-extended-020-signed-off-by @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/util/lint/lint-stable-000-license-headers b/util/lint/lint-stable-000-license-headers index befdf3cd68..7b14b45477 100755 --- a/util/lint/lint-stable-000-license-headers +++ b/util/lint/lint-stable-000-license-headers @@ -1,6 +1,5 @@ #!/bin/sh # SPDX-License-Identifier: GPL-2.0-only -# This file is part of the coreboot project. # # DESCR: Check that files have license headers diff --git a/util/lint/lint-stable-003-whitespace b/util/lint/lint-stable-003-whitespace index 1710083a6b..a6e915de58 100755 --- a/util/lint/lint-stable-003-whitespace +++ b/util/lint/lint-stable-003-whitespace @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-stable-004-style-labels b/util/lint/lint-stable-004-style-labels index 21aa69d873..36d2581974 100755 --- a/util/lint/lint-stable-004-style-labels +++ b/util/lint/lint-stable-004-style-labels @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-stable-005-board-status b/util/lint/lint-stable-005-board-status index edaa0b76c2..d364d71ded 100755 --- a/util/lint/lint-stable-005-board-status +++ b/util/lint/lint-stable-005-board-status @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/util/lint/lint-stable-006-board-name b/util/lint/lint-stable-006-board-name index 1458c8b5a8..3fb0adc403 100755 --- a/util/lint/lint-stable-006-board-name +++ b/util/lint/lint-stable-006-board-name @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/util/lint/lint-stable-008-kconfig b/util/lint/lint-stable-008-kconfig index 34dec465c8..79e2a86c0c 100755 --- a/util/lint/lint-stable-008-kconfig +++ b/util/lint/lint-stable-008-kconfig @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-stable-009-old-licenses b/util/lint/lint-stable-009-old-licenses index 1835a35e14..4d0cb4f4d3 100755 --- a/util/lint/lint-stable-009-old-licenses +++ b/util/lint/lint-stable-009-old-licenses @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-stable-010-asm-syntax b/util/lint/lint-stable-010-asm-syntax index 5f02ff567e..344068fcb3 100755 --- a/util/lint/lint-stable-010-asm-syntax +++ b/util/lint/lint-stable-010-asm-syntax @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-stable-012-executable-bit b/util/lint/lint-stable-012-executable-bit index 5827a59b1f..46896f42c8 100755 --- a/util/lint/lint-stable-012-executable-bit +++ b/util/lint/lint-stable-012-executable-bit @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/util/lint/lint-stable-013-site-local b/util/lint/lint-stable-013-site-local index af660ab9c4..2c63aa602f 100755 --- a/util/lint/lint-stable-013-site-local +++ b/util/lint/lint-stable-013-site-local @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by diff --git a/util/lint/lint-stable-016-non-ascii b/util/lint/lint-stable-016-non-ascii index 5bbafbbab2..4c97c37ba0 100755 --- a/util/lint/lint-stable-016-non-ascii +++ b/util/lint/lint-stable-016-non-ascii @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-stable-017-configs b/util/lint/lint-stable-017-configs index 1221672f6f..4f298508ce 100755 --- a/util/lint/lint-stable-017-configs +++ b/util/lint/lint-stable-017-configs @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-stable-018-symlinks b/util/lint/lint-stable-018-symlinks index c9aa356f5c..8739a8b019 100755 --- a/util/lint/lint-stable-018-symlinks +++ b/util/lint/lint-stable-018-symlinks @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-stable-019-header-files b/util/lint/lint-stable-019-header-files index 8114931b29..11cb6b750c 100755 --- a/util/lint/lint-stable-019-header-files +++ b/util/lint/lint-stable-019-header-files @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-stable-021-coreboot-lowercase b/util/lint/lint-stable-021-coreboot-lowercase index f9444cec90..45bc8199fd 100755 --- a/util/lint/lint-stable-021-coreboot-lowercase +++ b/util/lint/lint-stable-021-coreboot-lowercase @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-stable-022-clang-format b/util/lint/lint-stable-022-clang-format index 439af55a87..031fdb1f39 100755 --- a/util/lint/lint-stable-022-clang-format +++ b/util/lint/lint-stable-022-clang-format @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only diff --git a/util/lint/lint-stable-023-filenames b/util/lint/lint-stable-023-filenames index b864ab9866..a70f988957 100755 --- a/util/lint/lint-stable-023-filenames +++ b/util/lint/lint-stable-023-filenames @@ -1,5 +1,4 @@ #!/bin/sh -# This file is part of the coreboot project. # # SPDX-License-Identifier: GPL-2.0-only -- cgit v1.2.3