summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle/misc/cond_no_effect.cocci
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-06-04 10:11:38 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-19 17:11:22 +0200
commit7f904d7e1f3ec7c2de47c024a5a5c30988b54703 (patch)
tree51d62c63799926029500a604b32a06e464740c97 /scripts/coccinelle/misc/cond_no_effect.cocci
parent775c8a3d7187b82e15ebfdae486d8ab32e017b4b (diff)
downloadlinux-7f904d7e1f3ec7c2de47c024a5a5c30988b54703.tar.bz2
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505
Based on 1 normalized pattern(s): gplv2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 58 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Enrico Weigelt <info@metux.net> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190604081207.556988620@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/coccinelle/misc/cond_no_effect.cocci')
-rw-r--r--scripts/coccinelle/misc/cond_no_effect.cocci3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/coccinelle/misc/cond_no_effect.cocci b/scripts/coccinelle/misc/cond_no_effect.cocci
index 8467dbd1c465..91d16a81d1da 100644
--- a/scripts/coccinelle/misc/cond_no_effect.cocci
+++ b/scripts/coccinelle/misc/cond_no_effect.cocci
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
///Find conditions where if and else branch are functionally
// identical.
//
@@ -37,7 +38,7 @@
// All other cases look like bugs or at least lack of documentation
//
// Confidence: Moderate
-// Copyright: (C) 2016 Nicholas Mc Guire, OSADL. GPLv2.
+// Copyright: (C) 2016 Nicholas Mc Guire, OSADL.
// Comments:
// Options: --no-includes --include-headers